Struct jujutsu_lib::repo::RepoLoader
source · pub struct RepoLoader { /* private fields */ }Implementations§
source§impl RepoLoader
impl RepoLoader
pub fn init(
user_settings: &UserSettings,
repo_path: &Path,
backend_factories: &BackendFactories
) -> 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) -> RepoAtHead
pub fn load_at(&self, op: &Operation) -> Arc<ReadonlyRepo>
pub fn create_from(
&self,
operation: Operation,
view: View,
index: Arc<ReadonlyIndex>
) -> Arc<ReadonlyRepo>
Trait Implementations§
source§impl Clone for RepoLoader
impl Clone for RepoLoader
source§fn clone(&self) -> RepoLoader
fn clone(&self) -> RepoLoader
Returns a copy 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 more