compress

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MIT Imports: 5 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 interface {
	Compress(ctx context.Context, archive string, files ...string) error
}

Compressor interface

type GzipCompressor

type GzipCompressor struct{}

GzipCompressor ...

func (*GzipCompressor) Compress

func (gz *GzipCompressor) Compress(ctx context.Context, archive string, files ...string) error

Compress tages an archive and an array of file paths to compress into archive

Jump to

Keyboard shortcuts

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