unpacker

package
Version: v3.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2019 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Squashfs

type Squashfs struct {
	UnsquashfsPath string
}

Squashfs represents a squashfs unpacker

func NewSquashfs

func NewSquashfs() *Squashfs

NewSquashfs initializes and returns a Squahfs unpacker instance

func (*Squashfs) ExtractAll

func (s *Squashfs) ExtractAll(reader io.Reader, dest string) error

ExtractAll extracts a squashfs filesystem read from reader to a destination directory

func (*Squashfs) ExtractFiles

func (s *Squashfs) ExtractFiles(files []string, reader io.Reader, dest string) error

ExtractFiles extracts provided files from a squashfs filesystem read from reader to a destination directory

func (*Squashfs) HasUnsquashfs

func (s *Squashfs) HasUnsquashfs() bool

HasUnsquashfs returns if unsquashfs binary has been found or not

Source Files

Jump to

Keyboard shortcuts

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