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