pub fn get_launchpad_nodes_data_dir_path(
base_dir: &PathBuf,
should_create: bool,
) -> Result<PathBuf>
Expand description
Where to store the Nodes data.
If base_dir
is the primary mount point, we store in “<base_dir>/$HOME/user_data_dir/autonomi/node”.
if not we store in “<base_dir>/autonomi/node”.
If should_create is true, the directory will be created if it doesn’t exists.