ocebuild.filesystem.cache#

Methods for handling cross-platform file caching operations.

Module Contents#

Functions#

clear_cache(cache_dirs)

Clears all cache directories

Attributes#

CACHE_DIR

Global cache directory for storing and re-using files between builds.

UNPACK_DIR

Directory for unpacking and handling remote or cached archives.

ocebuild.filesystem.cache.CACHE_DIR[source]#

Global cache directory for storing and re-using files between builds.

ocebuild.filesystem.cache.UNPACK_DIR[source]#

Directory for unpacking and handling remote or cached archives.

ocebuild.filesystem.cache.clear_cache(cache_dirs: List[ocebuild.third_party.cpython.pathlib.Path])[source]#

Clears all cache directories