libera_utils.io.caching#

Module containing code to manage local file caching

Functions

empty_local_cache_dir()

Remove all cached files in the local cache.

get_local_cache_dir()

Determine where to cache files based on the system and installed package version.

libera_utils.io.caching.empty_local_cache_dir()#

Remove all cached files in the local cache.

Returns:

List of removed files

Return type:

list

libera_utils.io.caching.get_local_cache_dir()#

Determine where to cache files based on the system and installed package version.

Returns:

Path to the cache directory for this version of this package on the current system

Return type:

pathlib.Path