Struct jujutsu_lib::repo::RepoLoader
source · [−]pub struct RepoLoader { /* private fields */ }Implementations
sourceimpl RepoLoader
impl RepoLoader
pub fn init(user_settings: &UserSettings, repo_path: PathBuf) -> Self
pub fn repo_path(&self) -> &PathBuf
pub fn store(&self) -> &Arc<Store>
pub fn index_store(&self) -> &Arc<IndexStore>
pub fn op_store(&self) -> &Arc<dyn OpStore>
pub fn op_heads_store(&self) -> &Arc<OpHeadsStore>
pub fn load_at_head(&self) -> Arc<ReadonlyRepo>
pub fn load_at(&self, op: &Operation) -> Arc<ReadonlyRepo>
pub fn create_from(
&self,
operation: Operation,
view: View,
index: Arc<ReadonlyIndex>
) -> Arc<ReadonlyRepo>
Auto Trait Implementations
impl !RefUnwindSafe for RepoLoader
impl Send for RepoLoader
impl Sync for RepoLoader
impl Unpin for RepoLoader
impl !UnwindSafe for RepoLoader
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more