fixzip

package
v1.4.7 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoExecutor = errors.New("no context executor")

Functions

func Check

func Check(ctx context.Context, path, extra string, d fs.DirEntry, artifacts ...string) string

Check returns the UUID of the zipped file if it requires re-archiving because it uses a legacy compression method that is not supported by Go or JS libraries.

Check UUID named files are moved to the extra directory and are given a .zip extension.

func Files

Files returns all the DOS platform artifacts using a .zip extension filename.

func Invalid

func Invalid(ctx context.Context, path string) bool

Invalid returns true if the zip file fails the hwzip list command. The path is the path to the zip file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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