MCPcopy Create free account
hub / github.com/di-sukharev/opencommit / uuid42

Function uuid42

out/cli.cjs:81111–81117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81109 }
81110 }
81111}
81112function debug4(action, ...args) {
81113 if (typeof process !== "undefined" && process?.env?.["DEBUG"] === "true") {
81114 console.log(`OpenAI:DEBUG:${action}`, ...args);
81115 }
81116}
81117var uuid42 = () => {
81118 return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c4) => {
81119 const r3 = Math.random() * 16 | 0;
81120 const v5 = c4 === "x" ? r3 : r3 & 3 | 8;

Callers 1

defaultIdempotencyKeyMethod · 0.85

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected