fs_memory library
In memory file systems (fileSystemMemory, newFileSystemMemory),
on every platform: posix paths rooted at /, links and random access
supported, content lost when the program ends.
Classes
- Directory
- A reference to a directory on the file system.
- File
- A reference to a file on the file system.
- FileMode
- The mode in which a file is opened.
- FileSink
- A sink for writing to a file.
- FileStat
- Information about a file system object.
- FileStreamSink
- File streaming sink.
- FileSystem
- A file system: creates the File, Directory and Link entities of a path (file, directory, link) and tells the type of a path (type, isFile, isDirectory, isLink).
- FileSystemEntity
- A reference to an entity on the file system, such as a file or directory.
- FileSystemEntityParent
- Entity or FileSystem
- FileSystemEntityType
- The type of an entity on the file system, such as a file, directory, or link.
- FsShimSandboxedFileSystem
- A file system that is sandboxed to a specific directory.
- Link
- A reference to a link on the file system.
- OSError
- An error from the operating system.
- RandomAccessFile
- Random access to the data in a file.
Extensions
- FsShimDirectoryExtension on Directory
- Common extension helpers
- FsShimFileExtension on File
- File extension.
- FsShimFileSystemExtension on FileSystem
- File system extension.
Properties
- fileSystemMemory → FileSystem
-
Global in memory file system.
no setter
Functions
-
newFileSystemMemory(
[String? name]) → FileSystem - Creates a new file system in memory.
-
newMemoryFileSystem(
[String? name]) → FileSystem - In memory implementation
Exceptions / Errors
- FileSystemException
- An exception holding information about a file system error.