Struct jujutsu_lib::repo::MutableRepo [−][src]
pub struct MutableRepo { /* fields omitted */ }
Implementations
impl MutableRepo
[src]
impl MutableRepo
[src]pub fn new(
base_repo: Arc<ReadonlyRepo>,
index: Arc<ReadonlyIndex>,
view: &ReadonlyView,
evolution: Option<&Arc<ReadonlyEvolution>>
) -> Arc<MutableRepo>
[src]
base_repo: Arc<ReadonlyRepo>,
index: Arc<ReadonlyIndex>,
view: &ReadonlyView,
evolution: Option<&Arc<ReadonlyEvolution>>
) -> Arc<MutableRepo>
pub fn as_repo_ref(&self) -> RepoRef<'_>
[src]
pub fn base_repo(&self) -> &Arc<ReadonlyRepo>
[src]
pub fn store(&self) -> &Arc<StoreWrapper>
[src]
pub fn op_store(&self) -> &Arc<dyn OpStore>
[src]
pub fn index(&self) -> &MutableIndex
[src]
pub fn view(&self) -> &MutableView
[src]
pub fn consume(self) -> (MutableIndex, MutableView, Option<MutableEvolution>)
[src]
pub fn evolution(&self) -> &MutableEvolution
[src]
pub fn evolution_mut(&mut self) -> Option<&mut MutableEvolution>
[src]
pub fn invalidate_evolution(&mut self)
[src]
pub fn write_commit(&mut self, commit: Commit) -> Commit
[src]
pub fn set_checkout(&mut self, id: CommitId)
[src]
pub fn check_out(&mut self, settings: &UserSettings, commit: &Commit) -> Commit
[src]
pub fn heads(&self) -> &HashSet<CommitId>
[src]
pub fn add_head(&mut self, head: &Commit)
[src]
pub fn remove_head(&mut self, head: &Commit)
[src]
pub fn add_public_head(&mut self, head: &Commit)
[src]
pub fn remove_public_head(&mut self, head: &Commit)
[src]
pub fn insert_git_ref(&mut self, name: String, commit_id: CommitId)
[src]
pub fn remove_git_ref(&mut self, name: &str)
[src]
pub fn set_view(&mut self, data: View)
[src]
pub fn merge(&mut self, base_repo: &ReadonlyRepo, other_repo: &ReadonlyRepo)
[src]
Auto Trait Implementations
impl !RefUnwindSafe for MutableRepo
impl Send for MutableRepo
impl Sync for MutableRepo
impl Unpin for MutableRepo
impl !UnwindSafe for MutableRepo
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,