MCPcopy
hub / github.com/continuedev/continue / getCachedCustomCert

Method getCachedCustomCert

packages/fetch/src/certs.ts:79–86  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

77 }
78
79 async getCachedCustomCert(path: string): Promise<string | undefined> {
80 if (this._customCerts.has(path)) {
81 return this._customCerts.get(path);
82 }
83 const certContent = getCertificateContent(path);
84 this._customCerts.set(path, certContent);
85 return certContent;
86 }
87
88 async getAllCachedCustomCerts(
89 caBundlePath: string[] | string,

Callers 3

certs.test.tsFile · 0.80

Calls 3

getCertificateContentFunction · 0.85
getMethod · 0.65
setMethod · 0.65

Tested by

no test coverage detected