MCPcopy Create free account
hub / github.com/aurora-develop/aurora / newCallIDSuffix

Function newCallIDSuffix

internal/toolcall/time.go:10–14  ·  view source on GitHub ↗

24 字符的 hex 字符串,等价于 12 字节随机数;和 的 "uuid.uuid4().hex[:24]" 行为一致 —— 24 个 hex 字符。

()

Source from the content-addressed store, hash-verified

8// 24 字符的 hex 字符串,等价于 12 字节随机数;和 的
9// "uuid.uuid4().hex[:24]" 行为一致 —— 24 个 hex 字符。
10func newCallIDSuffix() string {
11 var b [12]byte
12 _, _ = rand.Read(b[:])
13 return hex.EncodeToString(b[:])
14}

Callers 1

generateCallIDFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected