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

# Functions

Clean : wipes all files in the cache directory, will return a error if one occurs.
Library returns the directory inside the cache.Dir() where library images are cached.
LibraryImage creates a directory inside cache.Dir() with the name of the SHA sum of the image.
LibraryImageExists returns whether the image with the SHA sum exists in the LibraryImage cache.
Net returns the directory inside the cache.Dir() where shub images are cached.
NetImage creates a directory inside cache.Dir() with the name of the SHA sum of the image.
NetImageExists returns whether the image with the SHA sum exists in the net cache.
OciBlob returns the directory inside cache.Dir() where oci blobs are cached.
OciTemp returns the directory inside cache.Dir() where splatted out oci images live.
OciTempExists returns whether the image with the given sha sum exists in the OciTemp() cache.
OciTempImage creates a OciTempDir/sum directory and returns the abs path of the image.
Root is the root location where all of singularity caching happens.
Shub returns the directory inside the cache.Dir() where shub images are cached.
ShubImage creates a directory inside cache.Dir() with the name of the SHA sum of the image.
ShubImageExists returns whether the image with the SHA sum exists in the ShubImage cache.

# Constants

DirEnv specifies the environment variable which can set the directory for image downloads to be cached in.
LibraryDir is the directory inside the cache.Dir where library images are cached.
NetDir is the directory inside the cache.Dir where net images are cached.
OciBlobDir is the directory inside cache.Dir() where oci images are cached.
OciTempDir is the directory inside cache.Dir() where splatted out oci images live.
RootDefault specifies the directory inside of ${HOME} that images are cached in by default.
ShubDir is the directory inside the cache.Dir where shub images are cached.