pub type StartDir = AbsolutePath;
Expand description
An absolute path used as start directory in a package build environment
This is a type alias for AbsolutePath
§Examples
use std::str::FromStr;
use alpm_types::{Error, StartDir};
// Create StartDir from &str and format it
assert_eq!(
"/etc",
StartDir::from_str("/etc")?.to_string()
);
Aliased Type§
struct StartDir(PathBuf);
Fields§
§0: PathBuf