pub struct ChangedSubmoduleFetch {
pub name: String,
pub path: String,
pub super_oid: ObjectId,
pub new_commits: Vec<ObjectId>,
}Expand description
One submodule that gained new gitlink targets in rev-list <tips> --not <neg>.
Fields§
§name: StringSubmodule name (.gitmodules key or worktree path for unconfigured gitlinks).
path: StringPath in the superproject tree.
super_oid: ObjectIdA superproject commit OID whose tree supplies .gitmodules / config context.
new_commits: Vec<ObjectId>New gitlink commit OIDs observed along the walk (unique, sorted).
Trait Implementations§
Source§impl Clone for ChangedSubmoduleFetch
impl Clone for ChangedSubmoduleFetch
Source§fn clone(&self) -> ChangedSubmoduleFetch
fn clone(&self) -> ChangedSubmoduleFetch
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ChangedSubmoduleFetch
impl RefUnwindSafe for ChangedSubmoduleFetch
impl Send for ChangedSubmoduleFetch
impl Sync for ChangedSubmoduleFetch
impl Unpin for ChangedSubmoduleFetch
impl UnsafeUnpin for ChangedSubmoduleFetch
impl UnwindSafe for ChangedSubmoduleFetch
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