MCPcopy
hub / github.com/containerd/containerd / supportParallel

Method supportParallel

core/unpack/unpacker.go:747–756  ·  view source on GitHub ↗
(unpack *Platform)

Source from the content-addressed store, hash-verified

745}
746
747func (u *Unpacker) supportParallel(unpack *Platform) bool {
748 if u.unpackLimiter == nil {
749 return false
750 }
751 if !slices.Contains(unpack.SnapshotterCapabilities, "rebase") {
752 log.L.Infof("snapshotter does not support rebase capability, unpacking will be sequential")
753 return false
754 }
755 return true
756}
757
758func uniquePart() string {
759 t := time.Now()

Callers 1

unpackMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected