bundle

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectArchive

func CollectArchive(bundleRoot, outputPath string) error

func ImportArchive

func ImportArchive(archivePath, destRoot string) error

func VerifyManifest

func VerifyManifest(bundlePath string) error

Types

type ManifestEntry

type ManifestEntry struct {
	Path   string `json:"path"`
	SHA256 string `json:"sha256"`
	Size   int64  `json:"size"`
}

func InspectManifest

func InspectManifest(bundlePath string) ([]ManifestEntry, error)

type ManifestFile

type ManifestFile struct {
	Entries []ManifestEntry `json:"entries"`
}

type MergeAction

type MergeAction struct {
	Path   string
	Action string
	Reason string
}

type MergeReport

type MergeReport struct {
	Destination string
	DryRun      bool
	Actions     []MergeAction
}

func MergeArchive

func MergeArchive(archivePath, to string, dryRun bool) (MergeReport, error)

Jump to

Keyboard shortcuts

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