MCPcopy Create free account
hub / github.com/rsc/tmp / DiffArchive

Function DiffArchive

gorebuild/io.go:416–459  ·  view source on GitHub ↗

DiffArchive diffs the archives 'rebuild' and 'posted' based on their indexes. It reports to log any files that appear only in one or the other. For files that appear in both, DiffArchive calls check, which should log any differences found and report whether the files match. It reports whether the ar

(log *Log,
	rebuilt map[string]File1, posted map[string]File2,
	check func(*Log, File1, File2) bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

DiffWindowsMsiFunction · 0.85
DiffDarwinPkgFunction · 0.85
DiffTarGzFunction · 0.85
DiffZipFunction · 0.85

Calls 2

PrintfMethod · 0.80
checkFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…