archiver

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArchiverTest

func ArchiverTest()

func XZDecompress

func XZDecompress(filePath string, destDir string) error

Types

type Archiver

type Archiver struct {
	DstDir      string
	SrcFilePath string
	ZipName     string
}

func NewArchiver

func NewArchiver(srcFilePath string, dstDir string) (*Archiver, error)

func (*Archiver) SetZipName added in v0.3.6

func (that *Archiver) SetZipName(zipName string)

func (*Archiver) UnArchive

func (that *Archiver) UnArchive() (string, error)

func (*Archiver) ZipDir added in v0.3.6

func (that *Archiver) ZipDir() (err error)

Jump to

Keyboard shortcuts

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