MCPcopy Create free account
hub / github.com/arctic-cli/interface / descending

Function descending

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

Source from the content-addressed store, hash-verified

26 }
27
28 export function descending(prefix: keyof typeof prefixes, given?: string) {
29 return generateID(prefix, true, given)
30 }
31
32 function generateID(prefix: keyof typeof prefixes, descending: boolean, given?: string): string {
33 if (!given) {

Callers

nothing calls this directly

Calls 1

generateIDFunction · 0.85

Tested by

no test coverage detected