Skip to content

CaseInsensitiveFileIndex.delete method

CaseInsensitiveFileIndex › delete

Removes the abstract file at the given path from the index, along with all of its descendants (for folder deletions, where Obsidian removes the whole subtree).

Signature:

delete(path: string): void

Parameters:

ParameterTypeDescription
pathstringThe path of the abstract file to remove.

Returns: void