Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/containerd/containerd
/ uniqueRef
Function
uniqueRef
plugins/diff/windows/windows.go:402–408 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
400
}
401
402
func
uniqueRef() string {
403
t := time.Now()
404
var
b [3]byte
405
// Ignore read failures, just decreases uniqueness
406
rand.Read(b[:])
407
return
fmt.Sprintf(
"%d-%s"
, t.UnixNano(), base64.URLEncoding.EncodeToString(b[:]))
408
}
Callers
1
Compare
Method · 0.70
Calls
1
Read
Method · 0.65
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…