compression

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2025 License: MIT Imports: 10 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
}

Compressor handles backup compression operations

func NewCompressor

func NewCompressor(cfg *config.CompressionConfig, log *logger.Logger) *Compressor

NewCompressor creates a new compressor instance

func (*Compressor) CompressBackup

func (c *Compressor) CompressBackup(backupDir string) (string, error)

CompressBackup compresses a backup directory

func (*Compressor) DecompressBackup

func (c *Compressor) DecompressBackup(archiveFile string) (string, error)

DecompressBackup decompresses a backup archive for restore

Jump to

Keyboard shortcuts

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