tar

package
v0.183.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Archive

func Archive(src string, matcher sauceignore.Matcher, opts Options) (io.Reader, error)

Archive archives the resource and exclude files and folders based on sauceignore logic.

Types

type Options added in v0.33.1

type Options struct {
	Permission *Permission
}

Options represents the options applied when archiving files.

type Permission added in v0.33.1

type Permission struct {
	Mode int64 // Permission and mode bits
	UID  int   // User ID of owner
	GID  int   // Group ID of owner
}

Permission represents the permissions applied when archiving files.

Jump to

Keyboard shortcuts

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