Repository navigation
Commit 7fde50a
Fix list_dir prefix stripping: use removeprefix instead of lstrip
lstrip strips individual characters from the given set, not a prefix
string. This corrupted directory names when the prefix shared characters
with child names (e.g. "temp" → "emp" when prefix contained "t").
Fixes zarr-developers#3753
Co-Authored-By: Claude Opus 4.6 <[email protected]>1 parent 690be1e commit 7fde50a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
| 263 | + | |
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| |||
0 commit comments