Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ isSafeBlobHash
Function
isSafeBlobHash
apps/vis/server/src/lib/blob-resolver.ts:95–97 ·
view source on GitHub ↗
(hash: string)
Source
from the content-addressed store, hash-verified
93
}
94
95
export
function
isSafeBlobHash(hash: string): boolean {
96
return
/^[a-f0-9]{64}$/.test(hash);
97
}
Callers
2
blob-resolver.test.ts
File · 0.90
blobsRoute
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected