This PR implements MountableFS, which allows the user to mount filesystems as directories. MountableFS implements the MutableFS interface and includes Mount/Unmount operations. Tests are included as well, alongside some small bug fixes.
I also encountered some issues with the MemFS implementation. Namely that functions will attempt to create parent directories whenever possible, even though it's against the spec (e.g. Mkdir). I can open a follow up issue to address this.
This PR implements
MountableFS
, which allows the user to mount filesystems as directories.MountableFS
implements theMutableFS
interface and includesMount/Unmount
operations. Tests are included as well, alongside some small bug fixes.I also encountered some issues with the
MemFS
implementation. Namely that functions will attempt to create parent directories whenever possible, even though it's against the spec (e.g. Mkdir). I can open a follow up issue to address this.