Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/containerd/containerd
/ uniqueRef
Function
uniqueRef
plugins/diff/erofs/compare_linux.go:192–198 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
190
}
191
192
func
uniqueRef() string {
193
t := time.Now()
194
var
b [3]byte
195
// Ignore read failures, just decreases uniqueness
196
rand.Read(b[:])
197
return
fmt.Sprintf(
"%d-%s"
, t.UnixNano(), base64.URLEncoding.EncodeToString(b[:]))
198
}
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…