zipext

package
v0.0.442 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemoryZip

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

func NewMemoryZip

func NewMemoryZip(enableGZip, enableTarGZ bool) *MemoryZip

func (*MemoryZip) AddFile

func (z *MemoryZip) AddFile(path string, data []byte) error

func (*MemoryZip) Close

func (z *MemoryZip) Close() error

func (*MemoryZip) GetTarGz

func (z *MemoryZip) GetTarGz() ([]byte, error)

func (*MemoryZip) GetZip

func (z *MemoryZip) GetZip() ([]byte, error)

Jump to

Keyboard shortcuts

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