Documentation ¶
Index ¶
Constants ¶
View Source
const ( DeltaBlockLength = uint32(4096) DeltaStrongLength = uint32(32) DeltaSignatureType = librsync.BLAKE2_SIG_MAGIC )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArtifactDelta ¶
type ArtifactDelta struct {
// contains filtered or unexported fields
}
func NewArtifactDelta ¶
func NewArtifactDelta(basePath string, targetPath string) ArtifactDelta
func (*ArtifactDelta) Delta ¶
func (d *ArtifactDelta) Delta() (string, error)
Calculate the delta between the rootfs images contained within the input artifacts The deltas are saved to a temporary file with the correct name for support in RDFM Returns path to the temporary file containing raw deltas, or an error on failure.
Click to show internal directories.
Click to hide internal directories.