ApplyLayers applies all the layers using the given snapshotter and applier. The returned result is a chain id digest representing all the applied layers. Layers are applied in order they are given, making the first layer the bottom-most layer in the layer chain.
(ctx context.Context, layers []Layer, sn snapshots.Snapshotter, a diff.Applier)
| 47 | // Layers are applied in order they are given, making the first layer the |
| 48 | // bottom-most layer in the layer chain. |
| 49 | func ApplyLayers(ctx context.Context, layers []Layer, sn snapshots.Snapshotter, a diff.Applier) (digest.Digest, error) { |
| 50 | return ApplyLayersWithOpts(ctx, layers, sn, a, nil) |
| 51 | } |
| 52 | |
| 53 | // ApplyLayersWithOpts applies all the layers using the given snapshotter, applier, and apply opts. |
| 54 | // The returned result is a chain id digest representing all the applied layers. |
nothing calls this directly
no test coverage detected
searching dependent graphs…