Struct libalpm::Options [] [src]

pub struct Options {
    pub root_dir: String,
    pub db_path: String,
    pub cache_dir: String,
    pub log_file: String,
    pub gpg_dir: String,
    pub hook_dir: String,
    pub hold_pkg: Vec<String>,
    pub ignore_pkg: Vec<String>,
    pub ignore_group: Vec<String>,
    pub no_upgrade: Vec<String>,
    pub no_extract: Vec<String>,
    pub use_syslog: bool,
    pub color: bool,
    pub total_download: bool,
    pub check_space: bool,
    pub verbose_pkg_lists: bool,
    pub repositories: Vec<RepoOptions>,
}

The options that can be set in the pacman conf file.

Fields

The root directory of the instance. Packages are installed relative to here.

The location of the synced databases.

The location of the cache directory.

The location of the log file.

The location of the gpg directory.

Methods

impl Options
[src]

Reads a pacman-style ini file and returns an Options instance to match

TODO will only be implemented after I've finished the rest of the lib

Trait Implementations

impl Default for Options
[src]

Returns the "default value" for a type. Read more