get_abs_path

Function get_abs_path 

Source
pub fn get_abs_path(
    path: Option<PathBuf>,
    create_folder: Option<bool>,
) -> PathBuf
Expand description

Get absolute path to the folder and create it if it doesn’t exist

§Arguments

  • path: path to the folder
  • create_folder: create folder if it doesn’t exist

§Returns

  • absolute path to the folder