home

Function home 

Source
pub fn home() -> String
Expand description

Get the user’s home directory (macOS only)

§Example:

use imessage_database::util::dirs::home;

let path = home();
println!("{path}");