You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Agreed that this should work. See the general discussion at fsspec/filesystem_spec#562 - we could do with a comprehensive set of tests for the object storage backends with paths with/without terminal "/", and with/without deeper-nested contents, across the several methods that do this kind of work.
For now, there is a chance that this particular issue is already fixed on main (soon to be released), because find, used by du, no longer uses the prefix/delimiter approach when maxdepth is not specified.
The
.du()
method returns a FileNotFoundError if any terminal prefix trees at or below the path root do not contain any files.The method returns a numeric value as expected if all prefixes contain files.
The text was updated successfully, but these errors were encountered: