MCPcopy
hub / github.com/containerd/containerd / View

Method View

core/metadata/db.go:267–269  ·  view source on GitHub ↗

View runs a readonly transaction on the metadata store.

(fn func(*bolt.Tx) error)

Source from the content-addressed store, hash-verified

265
266// View runs a readonly transaction on the metadata store.
267func (m *DB) View(fn func(*bolt.Tx) error) error {
268 return m.db.View(fn)
269}
270
271// Update runs a writable transaction on the metadata store.
272func (m *DB) Update(fn func(*bolt.Tx) error) error {

Callers

nothing calls this directly

Calls 1

ViewMethod · 0.65

Tested by

no test coverage detected