FileManager.promptForFileDeletion method
FileManager › promptForFileDeletion
Unofficial
Prompt the user to delete a file.Signature:
promptForFileDeletion(file: TFile): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| file | TFile | The file to delete. |
Returns: Promise<void> — A promise that resolves when the deletion prompt is handled.