Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestUserXattr ¶
TestUserXattr tries to set a user xattr on PATH to ensure they are supported on this fs
Types ¶
type Squashfs ¶
type Squashfs struct {
// Path to the unsquashfs executable
UnsquashfsPath string
// ForceUserns sets --userns when unsquashfs is being run wrapped by singularity.
ForceUserns bool
}
Squashfs represents a squashfs unpacker.
func NewSquashfs ¶
NewSquashfs initializes and returns a Squahfs unpacker instance
func (*Squashfs) ExtractAll ¶
ExtractAll extracts a squashfs filesystem read from reader to a destination directory.
func (*Squashfs) ExtractFiles ¶
ExtractFiles extracts provided files from a squashfs filesystem read from reader to a destination directory.
func (*Squashfs) HasUnsquashfs ¶
HasUnsquashfs returns if unsquashfs binary has been found or not
Click to show internal directories.
Click to hide internal directories.