MCPcopy Index your code
hub / github.com/containerd/containerd / Acquire

Method Acquire

core/remotes/docker/resolver.go:495–500  ·  view source on GitHub ↗
(ctx context.Context, weight int64)

Source from the content-addressed store, hash-verified

493}
494
495func (r *dockerBase) Acquire(ctx context.Context, weight int64) error {
496 if r.limiter == nil {
497 return nil
498 }
499 return r.limiter.Acquire(ctx, weight)
500}
501
502func (r *dockerBase) Release(weight int64) {
503 if r.limiter != nil {

Callers

nothing calls this directly

Calls 1

AcquireMethod · 0.65

Tested by

no test coverage detected