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

Memory​File​System


public constructor MemoryFileSystem → (1)

rootSelector in : string

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

Creates a new instance of MemoryFileSystem.

Public / Methods

File​Put


public method FilePut → (2)

path in : Path

[not-null]
Path of the new file.

contents in : ByteBuffer own

[not-null]
The file contents.

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