Skip to main content

update_view

Function update_view 

Source
pub fn update_view(name: &str, home: &Path) -> Value
Expand description

What /api/update serves for the collective name at home: this borg (borg, its mesh protocol protocol), the last release check (latest, checked_ms, error; all null before the first) and whether its release is newer (update, false while check is off: BORG_UPDATE_CHECK=off), then the members this node knows of. Each member has its key, its engineer when known and name (the engineer, else its short key), borg (null: older than 0.7, it sent none), the protocol its last session agreed on, syncs (false: nothing syncs with it, it speaks a protocol this node does not) and note: what it misses on an older protocol (protocol.rs NOTES), or why nothing syncs; null on this node’s footing. Without mesh/ there are no members.