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:50
The child contexts
credentials
Section titled “credentials”
readonlycredentials:Credentials
Defined in: src/internal/contexts.ts:41
The credentials of the context, used for access checks
descriptors
Section titled “descriptors”
readonlydescriptors:Map<number,Handle>
Defined in: src/internal/contexts.ts:44
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:53
The mount table for this context
parent
Section titled “parent”
readonlyparent:FSContext|null
Defined in: src/internal/contexts.ts:47
The parent context, if any.
pwd:
string
Defined in: src/internal/contexts.ts:38
The current working directory of the context
root:
string
Defined in: src/internal/contexts.ts:35
The absolute root path of the context. Note the parent’s root is not considered