TFolder
API reference uses a reviewed source snapshot. Source links open the published source; unverified line locations are omitted.
Defined in: storage/fs.ts:121
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new TFolder(
path,children?,parent?,vault?):TFolder
Defined in: storage/fs.ts:122
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:124
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”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 files():
TFile[]
Defined in: storage/fs.ts:153
Returns
Section titled “Returns”TFile[]
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?):TFolder
Defined in: storage/fs.ts:131
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:163
Returns
Section titled “Returns”boolean
iterateAll()
Section titled “iterateAll()”iterateAll(
callback):void
Defined in: storage/fs.ts:142
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:94
Returns
Section titled “Returns”string