pub struct JjView {
pub change: Option<ChangeInfo>,
pub base: Option<String>,
pub bookmarks: Vec<Bookmark>,
pub change_ids: HashMap<String, String>,
}Expand description
What jj knows beyond the git store, read through the jj CLI.
Fields§
§change: Option<ChangeInfo>@, None when jj’s answer named no working copy.
base: Option<String>The first parent of @, which colocated git’s HEAD sits on; None
when that is jj’s root commit.
bookmarks: Vec<Bookmark>Every bookmark; filled only where the git store lacks them, which is
a repo with no .git.
change_ids: HashMap<String, String>Short change id by full commit id, over recent history.
Trait Implementations§
impl Eq for JjView
impl StructuralPartialEq for JjView
Auto Trait Implementations§
impl Freeze for JjView
impl RefUnwindSafe for JjView
impl Send for JjView
impl Sync for JjView
impl Unpin for JjView
impl UnsafeUnpin for JjView
impl UnwindSafe for JjView
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