Skip to content

Function: memoryDirectory()

Documentation / @wtf/platform-fs-memory / handles / memoryDirectory

function memoryDirectory(options?): MemoryDirectoryHandle;

Defined in: packages/platform-fs-memory/src/handles.ts:547

The root of a new file system in memory, a folder’s handle: its entries found and made, written whole as a writable closes, moved and removed, and a file read and written synchronously. With ignoreCase, a name finds an entry of another case, or form of Unicode, as macOS and Windows have it, and an entry keeps the name it was made of; now is the time it stamps a change with, Date.now()’s by default.

Parameters

ParameterType
options?MemoryDirectoryOptions

Returns

MemoryDirectoryHandle