MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / createVaultFile

Function createVaultFile

src/core/VaultMutationService.ts:11–13  ·  view source on GitHub ↗
(app: App, path: string, content: string)

Source from the content-addressed store, hash-verified

9}
10
11export async function createVaultFile(app: App, path: string, content: string): Promise<TFile> {
12 return app.vault.create(path, content);
13}
14
15export async function createVaultFolder(app: App, path: string): Promise<void> {
16 await app.vault.createFolder(path);

Callers 3

createNewFileMethod · 0.90
renderGeneralTabFunction · 0.90
performExportMethod · 0.90

Calls 1

createMethod · 0.65

Tested by

no test coverage detected