deltas

package
v0.0.0-...-7ff9c78 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL