deltautil

package module
v0.0.0-...-6b41f84 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Version = 2

Version is the version of the deltautil package.

Variables

This section is empty.

Functions

func ApplyDelta

func ApplyDelta(m *pb.RunManifest, d *pb.Delta) error

ApplyDelta applies the manifest changes specified by d to the manifest, m. It does so by modifying the manifest directly.

func WithDeltaManifest

func WithDeltaManifest(m *pb.RunManifest, d *pb.Delta) (*pb.RunManifest, error)

WithDeltaManifest takes a delta and a manifest and returns the result of applying the delta to the manifest. The original passed-in manifest is not changed. If the delta would not have any effect on the manifest, the original manifest is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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