package
3.1.0+incompatible
Repository: https://github.com/mem/singularity.git
Documentation: pkg.go.dev

# Functions

CheckExt3Header checks if byte content contains a valid ext3 header and returns offset where ext3 partition begin.
CheckSquashfsHeader checks if byte content contains a valid squashfs header and returns offset where squashfs partition start.
Init initilizes an image object based on given path.
ResolvePath returns a resolved absolute path.

# Constants

EXT3 defines constant for ext3 format.
SANDBOX defines constant for directory format.
SIF defines constant for sif format.
SQUASHFS defines constant for squashfs format.

# Structs

Image describes an image object.