Apply applies the content referred to by the given descriptor to the provided mount. The method of applying is based on the implementation and content descriptor. For example, in the common case the descriptor is a file system difference in tar format, that tar would be applied on top of the mounts.
(ctx context.Context, desc ocispec.Descriptor, mount []mount.Mount, opts ...ApplyOpt)
| 84 | // case the descriptor is a file system difference in tar format, |
| 85 | // that tar would be applied on top of the mounts. |
| 86 | Apply(ctx context.Context, desc ocispec.Descriptor, mount []mount.Mount, opts ...ApplyOpt) (ocispec.Descriptor, error) |
| 87 | } |
| 88 | |
| 89 | // WithCompressor sets the function to be used to compress the diff stream. |
no outgoing calls