bah

package
v9.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2017 License: MIT Imports: 5 Imported by: 0

README

bah

bah is the butler archive handler backend for extracting files.

It suppports ZIP files, including ZIP-64, and compression methods "none", "deflate", and "lzma".

It accepts and processes zip files prepended with arbitrary data (such as MojoSetup installers)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register()

Types

type Handler

type Handler struct {
}

func (*Handler) Extract

func (h *Handler) Extract(params *archive.ExtractParams) error

func (*Handler) List

func (h *Handler) List(params *archive.ListParams) (archive.ListResult, error)

func (*Handler) Name

func (h *Handler) Name() string

type ListResult

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

func (*ListResult) Entries

func (lr *ListResult) Entries() []*archive.Entry

func (*ListResult) FormatName

func (lr *ListResult) FormatName() string

func (*ListResult) Handler

func (lr *ListResult) Handler() archive.Handler

Jump to

Keyboard shortcuts

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