MCPcopy Create free account
hub / github.com/VPSDance/ai-proxy-rules / indexFile

Method indexFile

scripts/sync/cache.ts:124–126  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

122 }
123
124 private indexFile(): string {
125 return path.join(this.cacheDir, "_index.json");
126 }
127
128 private async readIndex(): Promise<Record<string, string>> {
129 if (this.indexCache !== null) {

Callers 3

pruneOrphansMethod · 0.95
readIndexMethod · 0.95
writeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected