pub struct Sighting {
pub blob: ObjectId,
pub commit: ObjectId,
}Expand description
One plaintext blob, and a commit that contains it.
Fields§
§blob: ObjectIdThe blob itself.
commit: ObjectIdA commit whose tree contains it.
A commit, not the list of them: trees are deduplicated across the walk, so the first commit to reach a given tree is the one recorded. Naming one is what makes the finding checkable; the remedy is per path anyway, since history rewriting takes paths and not commits.
Trait Implementations§
impl Eq for Sighting
impl StructuralPartialEq for Sighting
Auto Trait Implementations§
impl Freeze for Sighting
impl RefUnwindSafe for Sighting
impl Send for Sighting
impl Sync for Sighting
impl Unpin for Sighting
impl UnsafeUnpin for Sighting
impl UnwindSafe for Sighting
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
Mutably borrows from an owned value. Read more