MCPcopy
hub / github.com/containerd/containerd / ContentStore

Method ContentStore

client/client.go:710–717  ·  view source on GitHub ↗

ContentStore returns the underlying content Store

()

Source from the content-addressed store, hash-verified

708
709// ContentStore returns the underlying content Store
710func (c *Client) ContentStore() content.Store {
711 if c.contentStore != nil {
712 return c.contentStore
713 }
714 c.connMu.Lock()
715 defer c.connMu.Unlock()
716 return contentproxy.NewContentStore(c.conn)
717}
718
719// SnapshotService returns the underlying snapshotter for the provided snapshotter name
720func (c *Client) SnapshotService(snapshotterName string) snapshots.Snapshotter {

Callers 6

ExportMethod · 0.95
PullMethod · 0.95
fetchMethod · 0.95
ImportMethod · 0.95
PushMethod · 0.95
RestoreMethod · 0.95

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected