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

Method getCa

packages/fetch/src/certs.ts:115–122  ·  view source on GitHub ↗
(caBundlePath: undefined | string | string[])

Source from the content-addressed store, hash-verified

113 }
114
115 async getCa(caBundlePath: undefined | string | string[]): Promise<string[]> {
116 if (!caBundlePath) {
117 return this.fixedCa;
118 }
119
120 const customCerts = await this.getAllCachedCustomCerts(caBundlePath);
121 return [...this.fixedCa, ...customCerts];
122 }
123
124 async clear(): Promise<void> {
125 this._customCerts.clear();

Callers 2

getAgentOptionsFunction · 0.80
certs.test.tsFile · 0.80

Calls 1

Tested by

no test coverage detected