MCPcopy
hub / github.com/containerd/containerd / newSnapshot

Function newSnapshot

core/metadata/db_test.go:828–838  ·  view source on GitHub ↗
(key, parent string, active, r bool, l ...string)

Source from the content-addressed store, hash-verified

826}
827
828func newSnapshot(key, parent string, active, r bool, l ...string) object {
829 return object{
830 data: testSnapshot{
831 key: key,
832 parent: parent,
833 active: active,
834 },
835 removed: r,
836 labels: labelmap(l...),
837 }
838}
839
840func container(id, s string, l ...string) object {
841 return object{

Callers 2

TestMetadataCollectorFunction · 0.85
benchmarkTriggerFunction · 0.85

Calls 1

labelmapFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…