pub struct Updated {
pub written: Vec<String>,
pub moved: Vec<(String, String)>,
pub deleted: Vec<String>,
pub merged: Vec<String>,
pub conflicts: Vec<String>,
pub kept: Vec<(String, String)>,
pub contested: Vec<String>,
pub skipped: Vec<(String, String)>,
pub waiting: Vec<CutShort>,
pub held: Vec<String>,
pub sealed: Vec<String>,
}Expand description
What updating a tree’s copy did.
Fields§
§written: Vec<String>The paths written: new versions, and files added elsewhere.
moved: Vec<(String, String)>The copies moved, from where to where.
deleted: Vec<String>The copies deleted, of files deleted elsewhere.
merged: Vec<String>The copies edited here, or whose versions competed, merged cleanly: what a commit records next.
conflicts: Vec<String>The paths where versions clash: text with Git’s conflict markers, or another file with
the other version beside it, as NAME.conflict-DEVICE.
kept: Vec<(String, String)>The copies kept as they are, with why, such as one edited here of a file deleted elsewhere.
contested: Vec<String>The files deleted on one device while another gave them a new version, before either saw the other, whose copies hold that version now: a commit keeps them, unless they are deleted first.
skipped: Vec<(String, String)>The paths not written, with why.
waiting: Vec<CutShort>The commits of other devices whose parts have not all arrived, which are left out until they have.
held: Vec<String>What changed elsewhere that waits for the person to agree before it is written: moves
of secret files, as FROM -> TO, which could put a plain copy where something
publishes it, and .nibsecret files that lose lines, by path, which could make new
files ordinary (technical design: secrets in trees).
sealed: Vec<String>The secret files not written, as this replica cannot read them: its secrets are locked, or not on this device.
Trait Implementations§
impl Eq for Updated
impl StructuralPartialEq for Updated
Auto Trait Implementations§
impl Forget for Updated
impl Freeze for Updated
impl Move for Updated
impl RefUnwindSafe for Updated
impl Send for Updated
impl Sync for Updated
impl Unpin for Updated
impl UnsafeUnpin for Updated
impl UnwindSafe for Updated
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.