(unpack *Platform)
| 745 | } |
| 746 | |
| 747 | func (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 | |
| 758 | func uniquePart() string { |
| 759 | t := time.Now() |