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

Function getDefaultCacheFilePath

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

Source from the content-addressed store, hash-verified

38}
39
40export function getDefaultCacheFilePath(): string {
41 const paths = envPaths('mslearn', { suffix: '' });
42 return join(paths.cache, 'learn-mcp-cache.json');
43}
44
45class FileLearnSessionCacheStore implements LearnSessionCacheStore {
46 private readonly cacheFilePath: string;

Callers 1

constructorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected