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_ROOTor byauglib.config.CACHE_ROOT.If
augmentis not None, returns the sub-directory where files created by theauglib.Augmentobject are stored.- Parameters:
augment (
auglib.core.interface.Augment) – optional augmentation object- Return type:
- Returns:
cache directory path