MCPcopy Create free account
hub / github.com/MicrosoftDocs/mcp / emptyCacheFile

Function emptyCacheFile

cli/src/mcp/cache.ts:131–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129}
130
131function emptyCacheFile(): CacheFileShape {
132 return {
133 version: CACHE_SCHEMA_VERSION,
134 entries: {},
135 };
136}
137
138function normalizeEndpoint(endpoint: string): string {
139 return new URL(endpoint).toString();

Callers 1

readCacheFileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected