TFolder
Class: TFolder
Section titled “Class: TFolder”Defined in: storage/fs.ts:112
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new TFolder(
path,children?,parent?,vault?):TFolder
Defined in: storage/fs.ts:113
Parameters
Section titled “Parameters”string
children?
Section titled “children?”TAbstractFile[] = []
parent?
Section titled “parent?”TFolder | null
vault?
Section titled “vault?”Returns
Section titled “Returns”TFolder
Overrides
Section titled “Overrides”Properties
Section titled “Properties”children
Section titled “children”
readonlychildren:TAbstractFile[] =[]
Defined in: storage/fs.ts:115
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”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 files():
TFile[]
Defined in: storage/fs.ts:144
Returns
Section titled “Returns”TFile[]
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?):TFolder
Defined in: storage/fs.ts:122
Parameters
Section titled “Parameters”props?
Section titled “props?”Partial<{ children: TAbstractFile[]; path: string; }> = {}
Returns
Section titled “Returns”TFolder
Overrides
Section titled “Overrides”isRoot()
Section titled “isRoot()”isRoot():
boolean
Defined in: storage/fs.ts:154
Returns
Section titled “Returns”boolean
iterateAll()
Section titled “iterateAll()”iterateAll(
callback):void
Defined in: storage/fs.ts:133
Parameters
Section titled “Parameters”callback
Section titled “callback”(file) => void
Returns
Section titled “Returns”void
toString()
Section titled “toString()”toString():
string
Defined in: storage/fs.ts:85
Returns
Section titled “Returns”string