You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now the Go has their own "generic" interfaces for filesystem roots, maybe it would make sense to migrate to using that rather than our own home-brew thing. Note that we want to be given the equivalent of fs.DirFS("/")notfs.DirFS(root) -- we are implementing our own resolution logic, and the unsafe path.Join logic in io/fs is not going to work.
The text was updated successfully, but these errors were encountered:
It seems that there's no way to Readlink with io/fs.FS, and it also seems that they expect implementations to follow trailing symlinks (though the docs seem a little unclear). So this might not be possible...
Now the Go has their own "generic" interfaces for filesystem roots, maybe it would make sense to migrate to using that rather than our own home-brew thing. Note that we want to be given the equivalent of
fs.DirFS("/")
notfs.DirFS(root)
-- we are implementing our own resolution logic, and the unsafepath.Join
logic inio/fs
is not going to work.The text was updated successfully, but these errors were encountered: