squashfsparser

package
v0.0.0-...-a0db450 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SquashFSParser

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

SquashFSParser parses SquashFS filesystem images.

func New

func New(imagepath string, securityInfo bool) *SquashFSParser

New returns a new SquashFSParser instance for the given image file.

func (*SquashFSParser) CopyFile

func (s *SquashFSParser) CopyFile(filepath string, dstdir string) bool

CopyFile copies the specified file to the specified destination.

func (*SquashFSParser) GetDirInfo

func (s *SquashFSParser) GetDirInfo(dirpath string) ([]fsparser.FileInfo, error)

GetDirInfo returns information on the specified directory.

func (*SquashFSParser) GetFileInfo

func (s *SquashFSParser) GetFileInfo(filepath string) (fsparser.FileInfo, error)

GetFileInfo returns information on the specified file.

func (*SquashFSParser) ImageName

func (s *SquashFSParser) ImageName() string

ImageName returns the name of the filesystem image.

func (*SquashFSParser) Supported

func (f *SquashFSParser) Supported() bool

Jump to

Keyboard shortcuts

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