MCPcopy
hub / github.com/containerd/containerd / Comparer

Interface Comparer

core/diff/diff.go:57–64  ·  view source on GitHub ↗

Comparer allows creation of filesystem diffs between mounts

Source from the content-addressed store, hash-verified

55
56// Comparer allows creation of filesystem diffs between mounts
57type 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
67type ApplyConfig struct {

Callers 8

DiffMethod · 0.65
FuzzDiffCompareFunction · 0.65
startGCContextFunction · 0.65
filterReferrersFunction · 0.65
CreateDiffFunction · 0.65
testCompressDecompressFunction · 0.65
snapshots.goFile · 0.65
DiffMethod · 0.65

Implementers 7

diffRemotecore/diff/proxy/differ.go
walkingDiffplugins/diff/walking/differ.go
windowsDiffplugins/diff/windows/windows.go
cimDiffplugins/diff/windows/cimfs.go
blockCIMDiffplugins/diff/windows/cimfs.go
erofsDiffplugins/diff/erofs/differ.go
windowsLcowDiffplugins/diff/lcow/lcow.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…