Function data

Source
pub fn data() -> Result<PathBuf>
Expand description

Returns the data path of this program

§Errors

Fails if the system doesn’t have a HOME directory