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

Function descending

packages/opencode/src/id/id.ts:26–28  ·  view source on GitHub ↗
(prefix: keyof typeof prefixes, given?: string)

Source from the content-addressed store, hash-verified

24}
25
26export function descending(prefix: keyof typeof prefixes, given?: string) {
27 return generateID(prefix, "descending", given)
28}
29
30function generateID(prefix: keyof typeof prefixes, direction: "descending" | "ascending", given?: string): string {
31 if (!given) {

Callers

nothing calls this directly

Calls 1

generateIDFunction · 0.70

Tested by

no test coverage detected