Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateDelta ¶
GenerateDelta
func GenerateDeltaReport ¶
func GenerateDeltaReport(delta *Delta)
Types ¶
type Delta ¶
type Delta struct { Inserted []SingleDelta `json:"inserted,omitempty"` Deleted []SingleDelta `json:"deleted,omitempty"` Copied []SingleDelta `json:"copied,omitempty"` }
func UnmarshalJSON ¶
func (*Delta) MarshalJSON ¶
type DeltaProcess ¶
type DeltaProcess struct {
// contains filtered or unexported fields
}
func NewDeltaProcess ¶
func (*DeltaProcess) AppendDiff ¶
func (dp *DeltaProcess) AppendDiff(md5Hash [16]byte) bool
func (*DeltaProcess) BuildDelta ¶
func (dp *DeltaProcess) BuildDelta() *Delta
func (*DeltaProcess) Next ¶
func (dp *DeltaProcess) Next() error
func (*DeltaProcess) SetRemainingBytes ¶
func (dp *DeltaProcess) SetRemainingBytes()
Click to show internal directories.
Click to hide internal directories.