pub struct UpdateCheck {Show 17 fields
pub id: String,
pub status: UpdateStatus,
pub current: Option<String>,
pub latest: Option<String>,
pub version: Option<String>,
pub changes: Vec<FieldChange>,
pub files: Vec<FileChange>,
pub server: Option<Server>,
pub scan: Option<ScanReport>,
pub trust: Option<TrustCheck>,
pub moved_trust: Option<TrustCheck>,
pub source_change: Option<SourceChange>,
pub runs_repo_code: bool,
pub setup: Vec<String>,
pub setup_again: bool,
pub checkout_out_of_date: bool,
pub error: Option<CoreError>,
}Expand description
What check_update found.
Fields§
§id: String§status: UpdateStatus§current: Option<String>The commit the server came from.
latest: Option<String>The source’s commit now; for a local folder, the content hash of
what was read (pass it to update as expected).
version: Option<String>A registry entry’s version now (its latest is the content hash
of its server.json, so other content under one version is seen).
changes: Vec<FieldChange>§files: Vec<FileChange>Changed files of a checkout (SKIP_DIRS left out).
server: Option<Server>The server an update stores.
scan: Option<ScanReport>The folder’s files and every new launch line, when an update is available.
trust: Option<TrustCheck>§moved_trust: Option<TrustCheck>The trust check of where the host redirected the repository, when that is another source; an update needs its answer too.
source_change: Option<SourceChange>§runs_repo_code: bool§setup: Vec<String>The setup steps of the new version (setup_text).
setup_again: boolThe update replaces the checkout: what its setup steps installed there (dependencies, a build) has to be done again.
checkout_out_of_date: boolThis machine’s checkout is missing or not at the commit the server
file names; its entries are blocked until restore_checkout.
error: Option<CoreError>