Skip to content

TAbstractFile

This can be either a TFile or a TFolder.

Extended by

Constructors

new TAbstractFile()

new TAbstractFile(): TAbstractFile

Returns

TAbstractFile

Properties

deleted

deleted: boolean

Whether the file or folder is being deleted


name

name: string


parent

parent: null | TFolder


path

path: string


vault

vault: Vault

Methods

getNewPathAfterRename()

getNewPathAfterRename(newName): string

Gets the path after renaming the file or folder.

Parameters

newName: string

The new name of the file or folder.

Returns

string

The new path of the file or folder.