Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct { }
Factory is a helper for creating a new file differ factory
func (Factory) DiffContents ¶
func (factory Factory) DiffContents(f1, f2 blobdiffer.FileInfo, target string, records chan<- record.Record, hf dlhash.Factory) error
DiffContents reads the files in a chunk, compares block by block, generates for all blocks that are different between the two files. Caller is expected to close the records channel.
Click to show internal directories.
Click to hide internal directories.