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): DisposableParameters:
| 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: