Comparer allows creation of filesystem diffs between mounts
| 55 | |
| 56 | // Comparer allows creation of filesystem diffs between mounts |
| 57 | type Comparer interface { |
| 58 | // Compare computes the difference between two mounts and returns a |
| 59 | // descriptor for the computed diff. The options can provide |
| 60 | // a ref which can be used to track the content creation of the diff. |
| 61 | // The media type which is used to determine the format of the created |
| 62 | // content can also be provided as an option. |
| 63 | Compare(ctx context.Context, lower, upper []mount.Mount, opts ...Opt) (ocispec.Descriptor, error) |
| 64 | } |
| 65 | |
| 66 | // ApplyConfig is used to hold parameters needed for a apply operation |
| 67 | type ApplyConfig struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…