CompositeFileSystem
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CompositeFileSystem(config): CompositeFileSystem;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
Returns
Section titled “Returns”CompositeFileSystem
Properties
Section titled “Properties”readOnly?
Section titled “readOnly?”readonly optional readOnly?: boolean;Accessors
Section titled “Accessors”mountPaths
Section titled “mountPaths”Get Signature
Section titled “Get Signature”get mountPaths(): string[];Returns
Section titled “Returns”string[]
Methods
Section titled “Methods”appendFile()
Section titled “appendFile()”appendFile(path, content): Promise<void>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
|
Returns
Section titled “Returns”Promise<void>
Implementation of
Section titled “Implementation of”cp( src, dest,options?): Promise<void>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
|
|
|
Returns
Section titled “Returns”Promise<void>
Implementation of
Section titled “Implementation of”exists()
Section titled “exists()”exists(path): Promise<boolean>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”Promise<boolean>
Implementation of
Section titled “Implementation of”glob()
Section titled “glob()”glob(pattern): Promise<string[]>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”Promise<string[]>
Implementation of
Section titled “Implementation of”lstat()
Section titled “lstat()”lstat(path): Promise<FsStat>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”Promise<FsStat>
Implementation of
Section titled “Implementation of”mkdir()
Section titled “mkdir()”mkdir(path, options?): Promise<void>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
Returns
Section titled “Returns”Promise<void>
Implementation of
Section titled “Implementation of”mv(src, dest): Promise<void>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
|
Returns
Section titled “Returns”Promise<void>
Implementation of
Section titled “Implementation of”readdir()
Section titled “readdir()”readdir(path): Promise<string[]>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”Promise<string[]>
Implementation of
Section titled “Implementation of”readdirWithFileTypes()
Section titled “readdirWithFileTypes()”readdirWithFileTypes(path): Promise<FileSystemDirent[]>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”Promise<FileSystemDirent[]>
Implementation of
Section titled “Implementation of”FileSystem.readdirWithFileTypes
readFile()
Section titled “readFile()”readFile(path): Promise<string>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”Promise<string>
Implementation of
Section titled “Implementation of”readFileBytes()
Section titled “readFileBytes()”readFileBytes(path): Promise<Uint8Array<ArrayBufferLike>>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”Promise<Uint8Array<ArrayBufferLike>>
Implementation of
Section titled “Implementation of”readlink()
Section titled “readlink()”readlink(path): Promise<string>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”Promise<string>
Implementation of
Section titled “Implementation of”realpath()
Section titled “realpath()”realpath(path): Promise<string>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”Promise<string>
Implementation of
Section titled “Implementation of”resolveMount()
Section titled “resolveMount()”resolveMount(path): ResolvedMount | null;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”ResolvedMount | null
resolvePath()
Section titled “resolvePath()”resolvePath(base, path): string;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
|
Returns
Section titled “Returns”string
Implementation of
Section titled “Implementation of”rm(path, options?): Promise<void>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
Returns
Section titled “Returns”Promise<void>
Implementation of
Section titled “Implementation of”stat()
Section titled “stat()”stat(path): Promise<FsStat>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”Promise<FsStat>
Implementation of
Section titled “Implementation of”symlink()
Section titled “symlink()”symlink(target, linkPath): Promise<void>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
|
Returns
Section titled “Returns”Promise<void>
Implementation of
Section titled “Implementation of”writeFile()
Section titled “writeFile()”writeFile(path, content): Promise<void>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
|
Returns
Section titled “Returns”Promise<void>
Implementation of
Section titled “Implementation of”writeFileBytes()
Section titled “writeFileBytes()”writeFileBytes(path, content): Promise<void>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
|
Returns
Section titled “Returns”Promise<void>