# Functions
New initializes a cache within the directory specified in Config.ParentDir.
# Constants
DirEnv specifies the environment variable which can set the directory for image downloads to be cached in.
DisableEnv specifies whether the image should be used.
LibraryCacheType specifies the cache holds SIF images pulled from the library.
NetCacheType specifies the cache holds images pulled from http(s) internet sources.
OciBlobCacheType specifies the cache holds OCI blobs (layers) pulled from OCI sources.
OciSifCachetType specifies cache holds OCI-SIF conversions of OCI sources.
OciTempCacheType specifies the cache holds SIF images created from OCI sources.
OrasCacheType specifies the cache holds SIF images pulled from Oras sources.
ShubCacheType specifies the cache holds images pulled from Singularity Hub.
SubDirName specifies the name of the directory relative to the ParentDir specified when the cache is created.
# Variables
AllCacheTypes lists both file and OCI layout cache types.
FileCacheTypes lists the file cache types, that store SIF or other single file images named by their hash.
OciCacheTypes lists the OCI layout cache types, that store OCI blob content in a single OCI layout directory.
# Structs
Config describes the requested configuration requested when a new handle is created, as defined by the user through command flags and environment variables.
Entry is a structure representing an entry in the cache.
Handle is an structure representing the image cache, it's location and subdirectories.