MemoryFileSystem

Description

sealed class Tinman.Core.IO.Files.MemoryFileSystem

Derived from

FileSystem abstract
IMemoryConsumption

A read-only filesystem that provides access to files that have been specified manually.

Public / Constructors

MemoryFileSystem


public constructor MemoryFileSystem → (1)

rootSelector in : string

[not-empty]
The root selector (e.g. 'c:').

Creates a new instance of MemoryFileSystem.

Public / Methods

FilePut


public method FilePut → (2)

path in : Path

[not-null]
Path of the new file.

contents in : ByteBuffer

[not-null]
The file contents.

Puts a new file into the filesystem, creating parent directories as necessary.