Skip to content

Commit 807e00b

Browse files
authored
info call should strip the path (#43)
This is based on some pain points i was having and looking at other FS impls.
1 parent 79f7661 commit 807e00b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sshfs/spec.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ def _decode_attributes(self, attributes):
137137

138138
@wrap_exceptions
139139
async def _info(self, path, **kwargs):
140+
path = self._strip_protocol(path)
140141
async with self._pool.get() as channel:
141142
attributes = await channel.stat(path)
142143

0 commit comments

Comments
 (0)