TAbstractFile
API reference uses a reviewed source snapshot. Source links open the published source; unverified line locations are omitted.
Defined in: storage/fs.ts:49
Extended by
Section titled “Extended by”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new TAbstractFile(
path,parent?,vault?):TAbstractFile
Defined in: storage/fs.ts:53
Parameters
Section titled “Parameters”string
parent?
Section titled “parent?”TFolder | null = null
vault?
Section titled “vault?”Returns
Section titled “Returns”TAbstractFile
Properties
Section titled “Properties”parent
Section titled “parent”parent:
TFolder|null=null
Defined in: storage/fs.ts:55
path:
string
Defined in: storage/fs.ts:50
vault:
Vault
Defined in: storage/fs.ts:51
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
baseName
Section titled “baseName”Get Signature
Section titled “Get Signature”get baseName():
string
Defined in: storage/fs.ts:66
Returns
Section titled “Returns”string
extension
Section titled “extension”Get Signature
Section titled “Get Signature”get extension():
string
Defined in: storage/fs.ts:70
Returns
Section titled “Returns”string
Get Signature
Section titled “Get Signature”get name():
string
Defined in: storage/fs.ts:75
Returns
Section titled “Returns”string
Methods
Section titled “Methods”copy()
Section titled “copy()”
abstractcopy(props?):TAbstractFile
Defined in: storage/fs.ts:85
Parameters
Section titled “Parameters”props?
Section titled “props?”Partial<{ children: TAbstractFile[]; parent: TFolder; path: string; stat: FileStats; }>
Returns
Section titled “Returns”TAbstractFile
toString()
Section titled “toString()”toString():
string
Defined in: storage/fs.ts:94
Returns
Section titled “Returns”string