Skip to main content

Module paths

Module paths 

Source
Expand description

Filesystem layout for the host-side registry cache.

Ported from internal/registrycache/paths.go.

Enums§

PathError
Errors from resolving registry-cache paths.

Functions§

config_path
Returns the absolute path of the generated zot config JSON.
data_dir
Returns the directory where zot stores cached blobs and manifests.
global_dir
Returns the global registry-cache directory: ~/.local/share/ xianyun/registry/, unless that doesn’t exist yet AND ~/.local/ share/caproni/registry/ (the pre-rename path) does, in which case the existing caproni-path directory is used instead of starting a fresh, empty one and orphaning the existing cache state.
log_path
Returns the absolute path of the zot stdout/stderr log file.
pid_path
Returns the absolute path of the PID file for the zot process.
ref_path
Returns the absolute path of the ref marker file for the given profile.
refs_dir
Returns the directory containing per-profile ref marker files.