pub struct Committed {
pub revision: Option<EntityId>,
pub parts: usize,
pub changes: Vec<TreeChange>,
pub repositories: Vec<TreeChange>,
pub secret: Vec<String>,
pub left: Vec<String>,
pub unprotected: Vec<String>,
pub made_secret: Vec<EntityId>,
}Expand description
What a commit recorded.
Fields§
§revision: Option<EntityId>The commit’s revision, which its first part made; none if nothing changed.
parts: usizeHow many parts it made, a change for each: the first, with the revision, and one for each entity it recorded (technical design: one entity per change).
changes: Vec<TreeChange>What it recorded, by path.
repositories: Vec<TreeChange>What it recorded of Git repositories, by path.
secret: Vec<String>The paths of the secret files it recorded, new versions or new files, ordered.
left: Vec<String>The paths of the changes of secret files that it left, as the secrets were locked or not on this device, which a later commit takes.
unprotected: Vec<String>The paths of the new ordinary files that hold the content of a secret file of the tree, which the secrets do not protect there.
made_secret: Vec<EntityId>The ordinary files it made secret, each now a new secret file at its path, whose old
versions Library::purge_made_secret purges.
Trait Implementations§
impl Eq for Committed
impl StructuralPartialEq for Committed
Auto Trait Implementations§
impl Forget for Committed
impl Freeze for Committed
impl Move for Committed
impl RefUnwindSafe for Committed
impl Send for Committed
impl Sync for Committed
impl Unpin for Committed
impl UnsafeUnpin for Committed
impl UnwindSafe for Committed
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.