Type Alias StartDirectory

Source
pub type StartDirectory = 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, StartDirectory};

// Create StartDirectory from &str and format it
assert_eq!(
    "/etc",
    StartDirectory::from_str("/etc")?.to_string()
);

Aliased Type§

struct StartDirectory(PathBuf);

Fields§

§0: PathBuf