Repository navigation
Commit 690be1e
Add regression test for list_dir corrupting directory names (zarr-developers#3753)
ObjectStore.list_dir uses lstrip(prefix) which strips individual
characters rather than a prefix string, corrupting child directory
names when the prefix shares characters with them.
Co-Authored-By: Claude Opus 4.6 <[email protected]>1 parent 48e7f4d commit 690be1e
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
89 | 107 | | |
90 | 108 | | |
91 | 109 | | |
| |||
0 commit comments