TAbstractFile
Abstract Class: TAbstractFile
Section titled “Abstract Class: TAbstractFile”Defined in: storage/fs.ts:40
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:44
Parameters
Section titled “Parameters”string
parent?
Section titled “parent?”TFolder | 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:46
path:
string
Defined in: storage/fs.ts:41
vault:
Vault
Defined in: storage/fs.ts:42
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
baseName
Section titled “baseName”Get Signature
Section titled “Get Signature”get baseName():
string
Defined in: storage/fs.ts:57
Returns
Section titled “Returns”string
extension
Section titled “extension”Get Signature
Section titled “Get Signature”get extension():
string
Defined in: storage/fs.ts:61
Returns
Section titled “Returns”string
Get Signature
Section titled “Get Signature”get name():
string
Defined in: storage/fs.ts:66
Returns
Section titled “Returns”string
Methods
Section titled “Methods”copy()
Section titled “copy()”
abstractcopy(props?):TAbstractFile
Defined in: storage/fs.ts:76
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:85
Returns
Section titled “Returns”string