MCPcopy Create free account
hub / github.com/barnybug/cli53 / uniqueReference

Function uniqueReference

util.go:294–299  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

292var seeded sync.Once
293
294func uniqueReference() string {
295 seeded.Do(func() {
296 rand.Seed(time.Now().UnixNano())
297 })
298 return fmt.Sprintf("%0x", rand.Int())
299}
300
301var unescaper = strings.NewReplacer(`\057`, "/", `\052`, "*")
302

Callers 2

createZoneFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected