archive

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GZWriteFile

func GZWriteFile(filename string, data []byte, perm fs.FileMode) error

Types

type TGZReader

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

func NewReader

func NewReader(filename string) (*TGZReader, error)

func (*TGZReader) Close

func (v *TGZReader) Close() error

func (*TGZReader) Read

func (v *TGZReader) Read(filename string) ([]byte, error)

func (*TGZReader) Reset

func (v *TGZReader) Reset() error

type TGZWriter

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

func NewWriter

func NewWriter(filename string) (*TGZWriter, error)

func (*TGZWriter) Close

func (v *TGZWriter) Close() error

func (*TGZWriter) Size

func (v *TGZWriter) Size() int64

func (*TGZWriter) WriteData

func (v *TGZWriter) WriteData(filename string, b []byte) (string, string, error)

func (*TGZWriter) WriteFile

func (v *TGZWriter) WriteFile(src, dst string) (string, string, error)

Jump to

Keyboard shortcuts

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