unpacker

package
v0.0.0-...-5ea318d Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package unpacker is the package for uncompress functions

Index

Constants

This section is empty.

Variables

View Source
var (
	// OpenedZipFiles is the map of already opened archive files.
	OpenedZipFiles map[string]*os.File

	// ZipWriters is the map of already opened zip writers
	ZipWriters map[string]*zip.Writer
)

Functions

func Decompress

func Decompress(header *common.Header, filename string, output string) error

Decompress is the entry point for decompressing process.

func GetOutputPath

func GetOutputPath(h *common.Header, outputdir string, parentid uint32) (p *string, archp *string, err error)

GetOutputPath will transform outputdir string into disk path + path inside of archive

func UnPack

func UnPack(inputFile, outputFolder string) error

UnPack is the entry pint of the package

Types

This section is empty.

Jump to

Keyboard shortcuts

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