pub fn open_from_home<P: AsRef<Path>>(
folder_path: P,
file_name: &str,
) -> Result<Config, Error>Expand description
Opens or create the given JSON config file within the given folder path appended to the result of directories::BaseDirs::new().home_dir()
§Arguments
folder_path- Path to the config folder, will create any missing foldersfile_name- Name of the config file, will create the file if it doesn’t exist