unpack

package
v0.0.120 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeFilesystem

func MakeFilesystem(filename string, mode fs.FileMode, ref artifacts.Reference) compute.Computable[fs.FS]

func Unpack

func Unpack(what string, fsys compute.Computable[fs.FS], opts ...UnpackOpt) compute.Computable[Unpacked]

Types

type UnpackOpt

type UnpackOpt func(*unpackFS)

func SkipChecksumCheck

func SkipChecksumCheck() UnpackOpt

func WithChecksumPaths

func WithChecksumPaths(paths ...string) UnpackOpt

Rather than checksum all files, checksum only the specified ones.

type Unpacked

type Unpacked struct {
	Files string // Points to the unpacked filesystem.
}

Jump to

Keyboard shortcuts

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