Re-exports§
pub use crate::list::AlpmListItem;
Modules§
Structs§
- Handle
- Alpm handle
Functions§
- initialize
- Initializes the alpm library and retuns a handle.
///
/// # Arguments
///
/// *
root
- the root path for all filesystem operations /// *dbpath
- the absolute path to the libalpm database /// /// # Example /// ////// use alpm; /// let handle = alpm::initialize("/", "/var/lib/pacman").unwrap(); ///