MCPcopy
hub / github.com/npmx-dev/npmx.dev / toUserContentId

Function toUserContentId

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

Source from the content-addressed store, hash-verified

275}
276
277function toUserContentId(value: string): string {
278 return `${USER_CONTENT_PREFIX}${value}`
279}
280
281function toUserContentHash(value: string): string {
282 return `#${withUserContentPrefix(value)}`

Callers 1

processHeadingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected