createTFolderInstance
Unofficial
Creates and properly initializes the instance of obsidian#TFolder even the underlying folder does not exist. This doesn’t create the missing folder on the file system.
Import:
import { createTFolderInstance } from '@obsidian-typings/obsidian-catalyst-latest/implementations';Signature:
function createTFolderInstance(app: App, path: string): TFolderParameters:
| Parameter | Type | Description |
|---|---|---|
app | App | The Obsidian app instance. |
path | string | The path to the folder. |
Returns: TFolder — The created obsidian#TFolder instance.