Skip to content

Cache

set_cache_dir

boa.interpret.set_cache_dir()

Description

Set the cache directory for the Vyper compilation results. By default, this is set to ~/.cache/titanoboa. In case the directory is None, the cache will be disabled.


Parameters

  • cache_dir: The directory to store the cache files.

disable_cache

boa.interpret.disable_cache()

Description

Set the cache directory for the Vyper compilation results.