MCPcopy Create free account
hub / github.com/callumalpass/tasknotes / createFile

Function createFile

tests/unit/services/filterCacheIndexing.test.ts:47–51  ·  view source on GitHub ↗
(app: MockApp, path: string, frontmatter: Record<string, unknown>)

Source from the content-addressed store, hash-verified

45}
46
47function createFile(app: MockApp, path: string, frontmatter: Record<string, unknown>): void {
48 const file = new TFile(path);
49 app.__files.set(path, file);
50 app.__metadata.set(path, { frontmatter });
51}
52
53function createTaskManager(app: MockApp): TaskManager {
54 return new TaskManager(

Callers 1

Calls 1

setMethod · 0.65

Tested by

no test coverage detected