MCPcopy
hub / github.com/callumalpass/tasknotes / getFileCache

Function getFileCache

src/modals/TaskModal.ts:413–415  ·  view source on GitHub ↗

* Get file cache - useful for testing with mocked metadataCache

(file: TFile)

Source from the content-addressed store, hash-verified

411 * Get file cache - useful for testing with mocked metadataCache
412 */
413 protected getFileCache(file: TFile): unknown {
414 return this.app.metadataCache.getFileCache(file);
415 }
416
417 /**
418 * Resolve a link to a file - useful for testing with mocked metadataCache

Callers

nothing calls this directly

Calls 1

getFileCacheMethod · 0.80

Tested by

no test coverage detected