compress

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Compressor

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

func NewCompressor

func NewCompressor(server grpc_fs.FS_CompressServer, m *mount.Mount, w writer) *Compressor

func (*Compressor) Close

func (c *Compressor) Close() error

func (*Compressor) Root

func (c *Compressor) Root(dir string, name string) (e error)

type TarWriter

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

func NewTarWriter

func NewTarWriter(w io.Writer, gz bool) *TarWriter

func (*TarWriter) Close

func (tw *TarWriter) Close() (e error)

type Worker

type Worker struct {
	Root   string
	Dir    string
	Dst    string
	Source []string
	// contains filtered or unexported fields
}

func New

func New(server grpc_fs.FS_CompressServer) *Worker

func (*Worker) Serve

func (w *Worker) Serve() (e error)

type ZipWriter

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

func NewZipWriter

func NewZipWriter(w io.Writer) *ZipWriter

func (*ZipWriter) Close

func (zw *ZipWriter) Close() error

Jump to

Keyboard shortcuts

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