Code duplication: datachain.lib.listing
should use Client.scandir()
#373
Labels
datachain.lib.listing
should use Client.scandir()
#373
datachain.lib.listing
contains a partial copy of the code used byClient.scandir()
, which only includes a generic version of the "nested" algorithm. This has some disadvantages:DataChain.from_storage()
to use new listing generator #294.A quick fix is to convert
list_bucket()
into a wrapper aroundClient.scandir()
, converting theEntry
objects the latter returns intoFile
, but it shouldn't be hard to makeClient.scandir()
returnFile
directly, as already planned in #33.The text was updated successfully, but these errors were encountered: