tarfile

package
v1.20.3 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tarfile

type Tarfile interface {
	Add(filename.Internal, osFile, func(string) *time.Timer)
	UploadAndDelete(uploader uploader.Uploader)
	Size() bytecount.ByteCount
}

Tarfile represents all the capabilities of a tarfile. You can add files to it, upload it, and check its size.

func New

func New(subdir filename.System, datatype string, metadata map[string]string) Tarfile

New creates a new tarfile to hold the contents of a particular subdirectory.

Jump to

Keyboard shortcuts

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