MemoryFileSystem constructor

MemoryFileSystem({FileSystemStyle style })

Creates a new MemoryFileSystem.

The file system will be empty, and the current directory will be the root directory.

If style is specified, the file system will use the specified path style. The default is FileSystemStyle.posix.

Implementation

factory MemoryFileSystem({FileSystemStyle style}) = _MemoryFileSystem;