Interface FSContext

A context used for FS operations

interface FSContext {
    children: FSContext[];
    credentials: Credentials;
    descriptors: Map<number, SyncHandle>;
    id: number;
    parent: V_Context;
    pwd: string;
    root: string;
}

Hierarchy (View Summary)

Properties

children: FSContext[]

The child contexts

credentials: Credentials

The credentials of the context, used for access checks

descriptors: Map<number, SyncHandle>

A map of open file descriptors to their handles

id: number

The unique ID of the context

parent: V_Context

The parent context, if any.

pwd: string

The current working directory of the context

root: string

The absolute root path of the context

Note the parent's root is not considered