MCPcopy
hub / github.com/containerd/containerd / acquire

Method acquire

core/unpack/unpacker.go:703–708  ·  view source on GitHub ↗
(ctx context.Context, l Limiter)

Source from the content-addressed store, hash-verified

701}
702
703func (u *Unpacker) acquire(ctx context.Context, l Limiter) error {
704 if l == nil {
705 return nil
706 }
707 return l.Acquire(ctx, 1)
708}
709
710func (u *Unpacker) release(l Limiter) {
711 if l == nil {

Callers 2

unpackMethod · 0.95
fetchMethod · 0.95

Calls 1

AcquireMethod · 0.65

Tested by

no test coverage detected