Skip to content

createTFolderInstance

createTFolderInstance(app, path): TFolder

Defined in: src/obsidian/implementations/Functions/createTFolderInstance.ts:13

Creates and properly initializes the instance of TFolder even the underlying folder does not exist. This doesn’t create the missing folder on the file system.

Parameters

app

App

path

string

Returns

TFolder