Function brane_cli::utils::get_instances_dir
source · pub fn get_instances_dir() -> Result<PathBuf, UtilError>
Expand description
Gets the directory where we store instance definitions.
Does not guarantee that the directory exists. Check ’ensure_instances_dir()` for that.
§Returns
The path to the directory where we shall/have store(d) instance definitions.
§Errors
This function may error if we failed to get the Brane configuration directory.