Skip to content

TFile

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

Defined in: storage/fs.ts:99

new TFile(path, stat, parent, vault?): TFile

Defined in: storage/fs.ts:100

string

FileStats

TFolder | null

Vault

TFile

TAbstractFile.constructor

parent: TFolder | null = null

Defined in: storage/fs.ts:55

TAbstractFile.parent


path: string

Defined in: storage/fs.ts:50

TAbstractFile.path


readonly stat: FileStats

Defined in: storage/fs.ts:102


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 name(): string

Defined in: storage/fs.ts:75

string

TAbstractFile.name

copy(props?): TFile

Defined in: storage/fs.ts:109

Partial<{ parent: TFolder; path: string; stat: FileStats; }> = {}

TFile

TAbstractFile.copy


toString(): string

Defined in: storage/fs.ts:94

string

TAbstractFile.toString