plugin_data_dir

Function plugin_data_dir 

Source
pub fn plugin_data_dir() -> &'static PathBuf
Expand description

Assigned directory of this plugin, where extra data can be stored.

This is /covey/plugins//. The directory should already contain this plugin’s binary (with the name of ) and a manifest.toml.

covey_plugin will also add an activations.json file. See the rank module for more details.

This depends on the PLUGIN_ID static being set before first being called.