MCPcopy
hub / github.com/inkeep/open-knowledge / cachePath

Method cachePath

packages/server/src/backlink-index.ts:923–925  ·  view source on GitHub ↗
(branch = this.activeBranch)

Source from the content-addressed store, hash-verified

921 }
922
923 private cachePath(branch = this.activeBranch): string {
924 return resolve(getLocalDir(this.projectDir), 'cache', branch, 'backlinks.json');
925 }
926
927 private registerNodeOnly(docName: string, branch = this.activeBranch): void {
928 const state = this.getState(branch);

Callers 2

saveToDiskMethod · 0.95
loadFromDiskMethod · 0.95

Calls 1

getLocalDirFunction · 0.90

Tested by

no test coverage detected