VirtfsSourceVirtfs provides primitives for describing paths in a file system in an abstract (platform-independent) and relatively portable manner, while allowing virtual file systems to be easily mounted to facilitate the writing of unit tests in programmes that abstract effects and rely on the file system.
Describes resolvable, portable, and platform-independent file paths.
A path Path.t is a lax representation of a file path in an abstract file system. It can be used to describe, abstractly, operations on file paths and to mock file systems.
Implementation of an in-memory file system based on Path, which abstracts file contents and metadata. The module also exposes Tree.Simple, which is an opinionated implementation of a very limited version of a system that mimics (somewhat) the behaviour of Unix file systems.