TFile
Class: TFile
Section titled “Class: TFile”Defined in: storage/fs.ts:90
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new TFile(
path,stat,parent,vault?):TFile
Defined in: storage/fs.ts:91
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:46
Inherited from
Section titled “Inherited from”path:
string
Defined in: storage/fs.ts:41
Inherited from
Section titled “Inherited from”
readonlystat:FileStats
Defined in: storage/fs.ts:93
vault:
Vault
Defined in: storage/fs.ts:42
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:70
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:57
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:61
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:66
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:100
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:85
Returns
Section titled “Returns”string