bundle

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Release

func Release() error

Release removes every extracted archive still held.

Types

type Loaded

type Loaded struct {
	Config config.File
	// contains filtered or unexported fields
}

Loaded is a directory of contracts, relations, and check cases, or a zip of that directory. Close removes a zip that was extracted for this process.

func Load

func Load(bundlePath string) (*Loaded, error)

Load reads a bundle directory or zip the same way config.Load reads a file that points at those paths.

func (*Loaded) Close

func (l *Loaded) Close() error

Close removes an extracted archive. A directory bundle stays where it is.

Jump to

Keyboard shortcuts

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