MCPcopy Create free account
hub / github.com/pollinations/pollinations / createTextCacheEnv

Function createTextCacheEnv

gen.pollinations.ai/test/text-cache.test.ts:75–79  ·  view source on GitHub ↗
(bucket = createTestR2Bucket())

Source from the content-addressed store, hash-verified

73}
74
75function createTextCacheEnv(bucket = createTestR2Bucket()): CloudflareBindings {
76 return {
77 TEXT_BUCKET: bucket,
78 } as unknown as CloudflareBindings;
79}
80
81async function dispatch(
82 app: Hono<TestEnv>,

Callers 2

dispatchFunction · 0.85
text-cache.test.tsFile · 0.85

Calls 1

createTestR2BucketFunction · 0.90

Tested by

no test coverage detected