Skip to content

registerFileCacheForNonExistingFile

Registers the file cache for a non-existing file.

Import:

import { registerFileCacheForNonExistingFile } from '@mnaoumov/obsidian-lib/metadata-cache';

Signature:

function registerFileCacheForNonExistingFile(params: RegisterFileCacheForNonExistingFileParams): Disposable

Parameters:

Parameter Type Description
params RegisterFileCacheForNonExistingFileParams The 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: