MCPcopy
hub / github.com/CodebuffAI/codebuff / get

Function get

cli/src/__tests__/release/proxy-http-get.test.ts:100–115  ·  view source on GitHub ↗
(options: Record<string, any>, callback: (response: Readable) => void)

Source from the content-addressed store, hash-verified

98 }
99 },
100 get(options: Record<string, any>, callback: (response: Readable) => void) {
101 httpsGetCalls.push(options)
102 options.agent.createConnection(options)
103 queueMicrotask(() => {
104 callback(createResponse(200, {}, '{"version":"0.0.33"}'))
105 })
106 return {
107 on() {
108 return this
109 },
110 setTimeout() {
111 return this
112 },
113 destroy() {},
114 }
115 },
116 },
117 tlsModule: {
118 connect(options: Record<string, unknown>) {

Callers

nothing calls this directly

Calls 2

createResponseFunction · 0.85
createConnectionMethod · 0.45

Tested by

no test coverage detected