Skip to content

Conversation

@efiop
Copy link
Member

@efiop efiop commented Dec 22, 2023

This makes it consistent with localfs/gcsfs/s3fs and also makes glob work after changes in fsspec/filesystem_spec#1382

This makes it consistent with localfs/gcsfs/s3fs and also makes glob work
after changes in fsspec/filesystem_spec#1382
Comment on lines -883 to -886
def find(self, path, withdirs=False, prefix="", **kwargs):
return sync(
self.loop, self._find, path=path, withdirs=withdirs, prefix=prefix, **kwargs
)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was redundant.

Comment on lines -963 to -964
if not with_parent:
dirs.pop(target_path, None)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with_parent is not present in fsspec/gcsfs/s3fs nor it is explicitly tested anywhere. It was getting in the way, so I've removed it as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant