| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-07-22 | lib/memfs: sanitize the Root directory to fix refresh | Shulhan | |
| In [MemFS.refresh], if the requested url is "/file1" and [Options.Root] is ".", the path during refresh become "file1" and if passed to [filepath.Dir] it will return ".". This cause the loop on refresh never end because there is no PathNodes equal with ".". | |||
| 2023-11-14 | lib/memfs: improve the refresh method | Shulhan | |
| Instead of refreshing from the Root, find the directory that closes to the requested path. While at it, simplify the returned error. | |||
