MCPcopy
hub / github.com/containerd/containerd / uniquePart

Function uniquePart

pkg/rootfs/apply.go:180–186  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178}
179
180func uniquePart() string {
181 t := time.Now()
182 var b [3]byte
183 // Ignore read failures, just decreases uniqueness
184 rand.Read(b[:])
185 return fmt.Sprintf("%d-%s", t.Nanosecond(), base64.URLEncoding.EncodeToString(b[:]))
186}

Callers 2

applyLayersFunction · 0.70
CreateDiffFunction · 0.70

Calls 1

ReadMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…