Skip to content

getFolder

Retrieves a folder based on the provided app and pathOrFolder.

Import:

import { getFolder } from '@mnaoumov/obsidian-lib/file-system';

Signature:

function getFolder(params: GetFolderParams): TFolder

Parameters:

Parameter Type Description
params GetFolderParams The parameters for the retrieval.

Returns: TFolder — The retrieved folder.


Links to this page: