MCPcopy Index your code
hub / github.com/npmx-dev/npmx.dev / toUserContentHash

Function toUserContentHash

server/utils/readme.ts:281–283  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

279}
280
281function toUserContentHash(value: string): string {
282 return `#${withUserContentPrefix(value)}`
283}
284
285function decodeHashFragment(value: string): string {
286 try {

Callers 1

resolveUrlFunction · 0.85

Calls 1

withUserContentPrefixFunction · 0.85

Tested by

no test coverage detected