We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85f72be commit 30b1982Copy full SHA for 30b1982
src/zarr/storage/local.py
@@ -226,7 +226,9 @@ async def list(self) -> AsyncGenerator[str, None]:
226
227
async def list_prefix(self, prefix: str) -> AsyncGenerator[str, None]:
228
# docstring inherited
229
- to_strip = (self.root / prefix).as_posix() + "/" # TODO: fixme in https://github.com/zarr-developers/zarr-python/issues/2438
+ to_strip = (
230
+ (self.root / prefix).as_posix() + "/"
231
+ ) # TODO: fixme in https://github.com/zarr-developers/zarr-python/issues/2438
232
for p in (self.root / prefix).rglob("*"):
233
if p.is_file():
234
yield p.as_posix().replace(to_strip, "")
0 commit comments