Skip to content

getAbstractFile

Retrieves the TAbstractFile object for the given path or abstract file.

Import:

import { getAbstractFile } from 'obsidian-dev-utils/obsidian/file-system';

Signature:

function getAbstractFile(params: GetAbstractFileParams): TAbstractFile

Parameters:

ParameterTypeDescription
paramsGetAbstractFileParamsThe parameters for the retrieval.

Returns: TAbstractFile — The abstract file.


Links to this page: