Skip to content

Commit

Permalink
info call should strip the path (#43)
Browse files Browse the repository at this point in the history
This is based on some pain points i was having and looking at other FS impls.
  • Loading branch information
ryaminal authored Apr 22, 2024
1 parent 79f7661 commit 807e00b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sshfs/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ def _decode_attributes(self, attributes):

@wrap_exceptions
async def _info(self, path, **kwargs):
path = self._strip_protocol(path)
async with self._pool.get() as channel:
attributes = await channel.stat(path)

Expand Down

0 comments on commit 807e00b

Please sign in to comment.