Skip to main content

CACHEDIR_TAG

Constant CACHEDIR_TAG 

Source
pub const CACHEDIR_TAG: &str = "CACHEDIR.TAG";
Expand description

Marker file written into the cache root (see https://bford.info/cachedir/). A directory is only used as a cache (written to, evicted, cleared) when it carries this marker, is empty or missing, or holds nothing but the cache’s own APK directories (one written before the marker existed). Pointing --cache-dir at $HOME or a project tree therefore neither reclaims its subdirectories as “least recently used APKs” nor plants a tag that makes backup tools skip it.