MCPcopy Create free account
hub / github.com/AlexErrant/Pentive / hexId

Function hexId

shared/src/binary.ts:92–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90
91export let rawId = idFactory()
92export function hexId(): Hex {
93 return base16.encode(rawId()) as Hex
94}
95// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters
96export function base64urlId<T extends Base64Url>() {
97 return arrayToBase64url(rawId()) as T

Callers 5

submit.tsxFile · 0.90
insertTemplateCommentFunction · 0.90
insertNoteCommentFunction · 0.90
insertNoteChildCommentFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected