MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / createUuidGenerator

Function createUuidGenerator

common/src/testing/mocks/crypto.ts:211–218  ·  view source on GitHub ↗
(prefix: string)

Source from the content-addressed store, hash-verified

209 * ```
210 */
211export function createUuidGenerator(prefix: string): () => UUID {
212 let index = 0
213 return () => {
214 const uuid = createMockUuid(prefix, index)
215 index++
216 return uuid
217 }
218}

Callers

nothing calls this directly

Calls 1

createMockUuidFunction · 0.85

Tested by

no test coverage detected