MCPcopy Create free account
hub / github.com/anomalyco/opencode / descending

Function descending

packages/app/src/utils/id.ts:20–22  ·  view source on GitHub ↗
(prefix: Prefix, given?: string)

Source from the content-addressed store, hash-verified

18 }
19
20 export function descending(prefix: Prefix, given?: string) {
21 return generateID(prefix, true, given)
22 }
23}
24
25function generateID(prefix: Prefix, descending: boolean, given?: string): string {

Callers

nothing calls this directly

Calls 1

generateIDFunction · 0.70

Tested by

no test coverage detected