pub struct ViewRefs {
pub by_repo: BTreeMap<String, BTreeMap<String, String>>,
pub unbacked: Vec<String>,
}Expand description
A view’s refs, grouped by repository as git oids, and the ones no repository could hold.
Fields§
§by_repo: BTreeMap<String, BTreeMap<String, String>>repo -> refname -> oid, for every ref named <repo>:<refname>
whose value is a git oid.
unbacked: Vec<String>One sentence per ref that names no repository or whose value is not a git oid. The API can write either, and no bundle or bare repository can back one, so a check that wants every ref backed has to be told about them rather than find them absent.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ViewRefs
impl RefUnwindSafe for ViewRefs
impl Send for ViewRefs
impl Sync for ViewRefs
impl Unpin for ViewRefs
impl UnsafeUnpin for ViewRefs
impl UnwindSafe for ViewRefs
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