default_cache_root()

audb.default_cache_root(shared=False)[source]

Default cache folder.

If shared is True, returns the path specified by the environment variable AUDB_SHARED_CACHE_ROOT or audb.config.SHARED_CACHE_ROOT. If shared is False, returns the path specified by the environment variable AUDB_CACHE_ROOT or audb.config.CACHE_ROOT.

Parameters

shared – if True returns path to shared cache folder

Return type

str

Returns

path normalized by audeer.path()