MCPcopy 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
596func 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

runAllFunction · 0.85

Calls 1

ReadMethod · 0.45

Tested by

no test coverage detected