MCPcopy Index your code
hub / github.com/AnswerOverflow/AnswerOverflow / cachedFetch

Function cachedFetch

packages/core/src/db.ts:15–21  ·  view source on GitHub ↗
(input: any, init?: any)

Source from the content-addressed store, hash-verified

13}
14
15const cachedFetch = (input: any, init?: any) =>
16 // @ts-ignore
17 // eslint-disable-next-line @typescript-eslint/no-unsafe-return, @typescript-eslint/no-unsafe-call,@typescript-eslint/no-unsafe-argument
18 fetch(input, {
19 ...init,
20 cache: 'no-store',
21 });
22
23const client = new Client({
24 url: dbUrl,

Callers

nothing calls this directly

Calls 1

fetchFunction · 0.85

Tested by

no test coverage detected