FSContext
Defined in: src/internal/contexts.ts:24
A context used for FS operations
Extended by
Section titled “Extended by”Properties
Section titled “Properties”[kIsContext]
Section titled “[kIsContext]”
readonly[kIsContext]:boolean
Defined in: src/internal/contexts.ts:26
Brand
children
Section titled “children”
readonlychildren:FSContext[]
Defined in: src/internal/contexts.ts:51
The child contexts
credentials
Section titled “credentials”
readonlycredentials:Credentials
Defined in: src/internal/contexts.ts:42
The credentials of the context, used for access checks
descriptors
Section titled “descriptors”
readonlydescriptors:Map<number,Handle>
Defined in: src/internal/contexts.ts:45
A map of open file descriptors to their handles
readonlyid:number
Defined in: src/internal/contexts.ts:29
The unique ID of the context
mounts
Section titled “mounts”
readonlymounts:Map<string,FileSystem>
Defined in: src/internal/contexts.ts:54
The mount table for this context
parent
Section titled “parent”
readonlyparent:FSContext|null
Defined in: src/internal/contexts.ts:48
The parent context, if any.
pwd:
string
Defined in: src/internal/contexts.ts:39
The current working directory of the context
root:
string
Defined in: src/internal/contexts.ts:36
The absolute root path of the context
Note the parent’s root is not considered