Type Alias BuildDirectory

Source
pub type BuildDirectory = AbsolutePath;
Expand description

An absolute path used as build directory

This is a type alias for AbsolutePath

§Examples

use std::str::FromStr;

use alpm_types::{Error, BuildDirectory};

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

Aliased Type§

struct BuildDirectory(PathBuf);

Fields§

§0: PathBuf