MCPcopy
hub / github.com/containerd/containerd / Compare

Method Compare

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

Compare computes the difference between two mounts and returns a descriptor for the computed diff. The options can provide a ref which can be used to track the content creation of the diff. The media type which is used to determine the format of the created content can also be provided as an option.

(ctx context.Context, lower, upper []mount.Mount, opts ...Opt)

Source from the content-addressed store, hash-verified

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

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 2

FuzzDiffCompareFunction · 0.52
testCompressDecompressFunction · 0.52