Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
Entry represents a single file reconciliation result. For Unchanged and Updated entries, Old and New will contain file indices. For Removed entries, New will be null (using the sentinel value of 0xFFFFFFFF). For Added entries, Old will be null (using the sentinel value of 0xFFFFFFFF).
type Result ¶
type Result struct {
E []Entry // All Unchanged, Updated, Removed, and Added entries
C [4]atomic.Uint32 // Counts of the above statuses indexed by their respecive integer values
}
Result contains the final reconciliation output for a collection of old and new files.
func Diff ¶
Diff compares two file lists and returns a Result containing all reconciliation entries.
Click to show internal directories.
Click to hide internal directories.