tar

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(options CreateOptions) (io.Reader, chan error, error)

Types

type CreateOptions

type CreateOptions struct {
	Archive            bool
	Seekable           bool
	Directory          string
	ExcludePatterns    []string
	ExcludeVCS         bool
	ExcludeVCSIgnores  bool
	NumericOwner       bool
	ACLs               bool
	SELinux            bool
	ExtendedAttributes bool
	Format             Format
	FullTime           bool

	Verbose bool
}

type Format

type Format string
const (
	FormatGNU    Format = "gnu"
	FormatOldGNU Format = "oldgnu"
	FormatPOSIX  Format = "posix"
)

func (Format) IsValid

func (f Format) IsValid() bool

func (Format) String

func (f Format) String() string

Jump to

Keyboard shortcuts

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