Skip to content

Commit

Permalink
Update gcsfs/core.py
Browse files Browse the repository at this point in the history
  • Loading branch information
martindurant authored Aug 24, 2023
1 parent 5d60e22 commit ea95d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcsfs/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ async def _ls(self, path, detail=False, refresh=False, prefix="", versions=False
path = self._strip_protocol(path).rstrip("/")

if refresh:
self.invalidate_cache()
self.invalidate_cache(path)
if path in ["/", ""]:
out = await self._list_buckets()
else:
Expand Down

0 comments on commit ea95d68

Please sign in to comment.