Skip to content

TFolder

API reference uses a reviewed source snapshot. Source links open the published source; unverified line locations are omitted.

Defined in: storage/fs.ts:121

new TFolder(path, children?, parent?, vault?): TFolder

Defined in: storage/fs.ts:122

string

TAbstractFile[] = []

TFolder | null

Vault

TFolder

TAbstractFile.constructor

readonly children: TAbstractFile[] = []

Defined in: storage/fs.ts:124


parent: TFolder | null = null

Defined in: storage/fs.ts:55

TAbstractFile.parent


path: string

Defined in: storage/fs.ts:50

TAbstractFile.path


vault: Vault

Defined in: storage/fs.ts:51

TAbstractFile.vault

get basename(): string

Defined in: storage/fs.ts:79

string

TAbstractFile.basename


get baseName(): string

Defined in: storage/fs.ts:66

string

TAbstractFile.baseName


get extension(): string

Defined in: storage/fs.ts:70

string

TAbstractFile.extension


get files(): TFile[]

Defined in: storage/fs.ts:153

TFile[]


get name(): string

Defined in: storage/fs.ts:75

string

TAbstractFile.name

copy(props?): TFolder

Defined in: storage/fs.ts:131

Partial<{ children: TAbstractFile[]; path: string; }> = {}

TFolder

TAbstractFile.copy


isRoot(): boolean

Defined in: storage/fs.ts:163

boolean


iterateAll(callback): void

Defined in: storage/fs.ts:142

(file) => void

void


toString(): string

Defined in: storage/fs.ts:94

string

TAbstractFile.toString