MCPcopy
hub / github.com/containerd/containerd / readID

Function readID

core/mount/manager/manager.go:582–585  ·  view source on GitHub ↗
(bkt *bolt.Bucket)

Source from the content-addressed store, hash-verified

580}
581
582func readID(bkt *bolt.Bucket) uint64 {
583 id, _ := binary.Uvarint(bkt.Get(bucketKeyID))
584 return id
585}
586
587func putActiveMount(bkt *bolt.Bucket, active mount.ActiveMount) error {
588 if err := bkt.Put(bucketKeyType, []byte(active.Type)); err != nil {

Callers 3

ActivateMethod · 0.70
DeactivateMethod · 0.70
applyRemoveMethod · 0.70

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…