pub type alpm_download_event_completed_t = _alpm_download_event_completed_t;
Expand description

Context struct for when a download completes.

Aliased Type§

struct alpm_download_event_completed_t {
    pub total: i64,
    pub result: i32,
}

Fields§

§total: i64

Total bytes in file

§result: i32

download result code: 0 - download completed successfully 1 - the file is up-to-date -1 - error