Function get_user_file_path

Source
pub fn get_user_file_path(user_name: &str) -> Result<PathOwned>
Expand description

Constructs the file system path for a user’s data file.

§Arguments

  • User_name - The username to generate a path for

§Returns

Returns Ok(Path_owned_type) with the complete path to the user file, or Err(Error::Failed_to_get_user_file_path) if path construction fails.