MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / fetch

Function fetch

sdk/src/__tests__/read-url.test.ts:14–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12 },
13) => {
14 const fetch = async () =>
15 new Response(html, {
16 status: 200,
17 headers: {
18 'content-type': init?.contentType ?? 'text/html; charset=utf-8',
19 },
20 })
21
22 const result = await readUrl({
23 url: init?.url ?? 'https://example.com/article',

Callers 15

searchWebFunction · 0.50
searchLibrariesFunction · 0.50
callCodebuffV1Function · 0.50
callTokenCountAPIFunction · 0.50
refreshFunction · 0.50
recordLocalImpressionFunction · 0.50
recordImpressionOnceFunction · 0.50
recordClickFunction · 0.50
fetchAdFunction · 0.50
fetchUsageDataFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected