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
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new TFile(
path,stat,parent,vault?):TFile
Defined in: storage/fs.ts:100
Parameters
Section titled “Parameters”string
FileStats
parent
Section titled “parent”TFolder | null
vault?
Section titled “vault?”Returns
Section titled “Returns”TFile
Overrides
Section titled “Overrides”Properties
Section titled “Properties”parent
Section titled “parent”parent:
TFolder|null=null
Defined in: storage/fs.ts:55
Inherited from
Section titled “Inherited from”path:
string
Defined in: storage/fs.ts:50
Inherited from
Section titled “Inherited from”
readonlystat:FileStats
Defined in: storage/fs.ts:102
vault:
Vault
Defined in: storage/fs.ts:51
Inherited from
Section titled “Inherited from”Accessors
Section titled “Accessors”basename
Section titled “basename”Get Signature
Section titled “Get Signature”get basename():
string
Defined in: storage/fs.ts:79
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”baseName
Section titled “baseName”Get Signature
Section titled “Get Signature”get baseName():
string
Defined in: storage/fs.ts:66
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”extension
Section titled “extension”Get Signature
Section titled “Get Signature”get extension():
string
Defined in: storage/fs.ts:70
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”Get Signature
Section titled “Get Signature”get name():
string
Defined in: storage/fs.ts:75
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”copy()
Section titled “copy()”copy(
props?):TFile
Defined in: storage/fs.ts:109
Parameters
Section titled “Parameters”props?
Section titled “props?”Partial<{ parent: TFolder; path: string; stat: FileStats; }> = {}
Returns
Section titled “Returns”TFile
Overrides
Section titled “Overrides”toString()
Section titled “toString()”toString():
string
Defined in: storage/fs.ts:94
Returns
Section titled “Returns”string