Skip to main content

get_embedded_plugins_dir

Function get_embedded_plugins_dir 

Source
pub fn get_embedded_plugins_dir() -> Option<&'static PathBuf>
Expand description

Get the path to the embedded plugins directory.

On first call, this extracts the embedded plugins to a cache directory. The cache is content-addressed, so unchanged plugins are reused across runs.

Returns None if extraction fails.