alpm_types

Type Alias BuildDir

source
pub type BuildDir = 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, BuildDir};

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

Aliased Type§

struct BuildDir(PathBuf);

Fields§

§0: PathBuf