~shulhan/pakakeh.go

v0.55.2 6 months ago

Release pakakeh.go v0.55.2 (2024-07-22)

=== Bug fix

*  lib/memfs: sanitize the Root directory to fix refresh

   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 ".".
Do not follow this link