MCPcopy
hub / github.com/containerd/containerd / Wait

Method Wait

core/unpack/unpacker.go:276–283  ·  view source on GitHub ↗

Wait waits for any ongoing unpack processes to complete then will return the result.

()

Source from the content-addressed store, hash-verified

274// Wait waits for any ongoing unpack processes to complete then will return
275// the result.
276func (u *Unpacker) Wait() (Result, error) {
277 if err := u.eg.Wait(); err != nil {
278 return Result{}, err
279 }
280 return Result{
281 Unpacks: int(u.unpacks.Load()),
282 }, nil
283}
284
285// unpackConfig is a subset of the OCI config for resolving rootfs and platform,
286// any config type which supports the platform and rootfs field can be supported.

Callers 2

PullMethod · 0.95
unpackImageFunction · 0.95

Calls 2

LoadMethod · 0.80
WaitMethod · 0.65

Tested by

no test coverage detected