brainevent.set_cache_dir

Contents

brainevent.set_cache_dir#

brainevent.set_cache_dir(path)[source]#

Set the compilation cache directory.

All subsequent compilations will use this directory for caching. Existing cached artefacts in the old directory are not moved.

Parameters:

path (str | Path) – New cache directory path. Created if it does not exist.

Return type:

None