default_cache_root()¶
- auglib.default_cache_root(augment=None)[source]¶
Path to default cache directory.
The default cache directory defines the path where augmented files will be stored. It is given by the path specified by the environment variable
AUGLIB_CACHE_ROOT
or byauglib.config.CACHE_ROOT
.If
augment
is not None, returns the sub-directory where files created by theauglib.Augment
object are stored.- Parameters
augment (
typing.Optional
[auglib.core.interface.Augment
]) – optional augmentation object- Return type
- Returns
cache directory path