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 by auglib.config.CACHE_ROOT.

If augment is not None, returns the sub-directory where files created by the auglib.Augment object are stored.

Parameters:

augment (auglib.core.interface.Augment) – optional augmentation object

Return type:

str

Returns:

cache directory path