Skip to content

registerFileCacheForNonExistingFile

Registers the file cache for a non-existing file.

Import:

import { registerFileCacheForNonExistingFile } from 'obsidian-dev-utils/obsidian/metadata-cache';

Signature:

function registerFileCacheForNonExistingFile(params: RegisterFileCacheForNonExistingFileParams): Disposable

Parameters:

ParameterTypeDescription
paramsRegisterFileCacheForNonExistingFileParamsThe parameters for registering the file cache.

Returns: Disposable — A Disposable that unregisters the file cache when disposed, for use with using.


Links to this page: