(app: App, file: TFile, content: string)
| 17 | } |
| 18 | |
| 19 | export async function modifyVaultFile(app: App, file: TFile, content: string): Promise<void> { |
| 20 | await app.vault.modify(file, content); |
| 21 | } |
| 22 | |
| 23 | export async function renameVaultFile(app: App, file: TFile, newPath: string): Promise<void> { |
| 24 | await app.vault.rename(file, newPath); |
no test coverage detected