pub type Backup = RelativePath;Expand description
The path of a packaged file that should be preserved during package operations
This is a type alias for RelativePath
§Examples
use std::str::FromStr;
use alpm_types::Backup;
// Create Backup from &str and format it
assert_eq!(
"etc/test.conf",
Backup::from_str("etc/test.conf")?.to_string()
);Aliased Type§
pub struct Backup(PathBuf);Tuple Fields§
§0: PathBuf