Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VPSDance/ai-proxy-rules
/ cacheFile
Method
cacheFile
scripts/sync/cache.ts:120–122 ·
view source on GitHub ↗
(url: string)
Source
from the content-addressed store, hash-verified
118
}
119
120
private cacheFile(url: string): string {
121
return
path.join(this.cacheDir, `${this.cacheKey(url)}.txt`);
122
}
123
124
private indexFile(): string {
125
return
path.join(this.cacheDir,
"_index.json"
);
Callers
2
write
Method · 0.95
read
Method · 0.95
Calls
1
cacheKey
Method · 0.95
Tested by
no test coverage detected