tarzstd

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package tarzstd creates tar.zst files

https://facebook.github.io/zstd/

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Suitcase

type Suitcase struct {
	// contains filtered or unexported fields
}

Suitcase represents everything needef for a tar.gz suitcase

func New

func New(target io.Writer, opts *config.SuitCaseOpts) Suitcase

New tar archive.

func (Suitcase) Add

func (s Suitcase) Add(f inventory.File) (*config.HashSet, error)

Add file to the archive.

func (Suitcase) AddEncrypt

func (s Suitcase) AddEncrypt(f inventory.File) error

AddEncrypt Adds and encrypt file to the archive.

func (Suitcase) Close

func (s Suitcase) Close() error

Close all closeables.

func (Suitcase) Config

func (s Suitcase) Config() *config.SuitCaseOpts

Config returns the config options

func (Suitcase) GetHashes

func (s Suitcase) GetHashes() []config.HashSet

GetHashes returns the hashes

Jump to

Keyboard shortcuts

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