BrowserFS is an in-browser filesystem that emulates the Node JS filesystem API and supports storing and retrieving files from various backends.
3.06k
stars
215
forks
source link
realpath/realPathSync return incorrect paths when called on a MountedFileSystem #256
Closed
Hexxeh closed 5 years ago
These methods return a canonical path relative to the root of the mounted filesystem, not the position at which they're mounted.
Example:
/foo
is a mounted FS, callingfs.realpathSync('/foo')
returns/
when it should return/foo
.