Skip to content

Commit

Permalink
Update src/zarr/storage/local.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jhamman authored Oct 24, 2024
1 parent 1e30a28 commit df70842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zarr/storage/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ async def list(self) -> AsyncGenerator[str, None]:

async def list_prefix(self, prefix: str) -> AsyncGenerator[str, None]:
# docstring inherited
to_strip = (self.root / prefix).as_posix() + "/" # TODO: fixme in 2430
to_strip = (self.root / prefix).as_posix() + "/" # TODO: fixme in https://github.com/zarr-developers/zarr-python/issues/2438
for p in (self.root / prefix).rglob("*"):
if p.is_file():
yield p.as_posix().replace(to_strip, "")
Expand Down

0 comments on commit df70842

Please sign in to comment.