Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/unpkg/unpkg
/ fileResponse
Function
fileResponse
packages/unpkg-www/src/request-handler.test.ts:28–30 ·
view source on GitHub ↗
(path: string)
Source
from the content-addressed store, hash-verified
26
}
27
28
function
fileResponse(path: string): Response {
29
return
new
Response(Bun.file(path));
30
}
31
32
describe(
"handleRequest"
, () => {
33
let
globalCaches: CacheStorage | undefined;
Callers
1
request-handler.test.ts
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected