Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ newRunID
Function
newRunID
script/ghmock/run.go:596–600 ·
view source on GitHub ↗
(start time.Time)
Source
from the content-addressed store, hash-verified
594
}
595
596
func
newRunID(start time.Time) string {
597
var
b [3]byte
598
_, _ = rand.Read(b[:])
599
return
start.Format(
"20060102T150405Z"
) +
"-"
+ hex.EncodeToString(b[:])
600
}
Callers
1
runAll
Function · 0.85
Calls
1
Read
Method · 0.45
Tested by
no test coverage detected