Struct jujutsu_lib::repo::ReadonlyRepo [−][src]
pub struct ReadonlyRepo { /* fields omitted */ }
Implementations
impl ReadonlyRepo
[src]
impl ReadonlyRepo
[src]pub fn init_local(
settings: &UserSettings,
wc_path: PathBuf
) -> Arc<ReadonlyRepo>
[src]
settings: &UserSettings,
wc_path: PathBuf
) -> Arc<ReadonlyRepo>
pub fn init_internal_git(
settings: &UserSettings,
wc_path: PathBuf
) -> Arc<ReadonlyRepo>
[src]
pub fn init_internal_git(
settings: &UserSettings,
wc_path: PathBuf
) -> Arc<ReadonlyRepo>
[src]Initializes a repo with a new Git store in .jj/git/ (bare Git repo)
pub fn init_external_git(
settings: &UserSettings,
wc_path: PathBuf,
git_store_path: PathBuf
) -> Arc<ReadonlyRepo>
[src]
pub fn init_external_git(
settings: &UserSettings,
wc_path: PathBuf,
git_store_path: PathBuf
) -> Arc<ReadonlyRepo>
[src]Initializes a repo with an existing Git store at the specified path
pub fn load(
user_settings: &UserSettings,
wc_path: PathBuf
) -> Result<Arc<ReadonlyRepo>, RepoLoadError>
[src]
user_settings: &UserSettings,
wc_path: PathBuf
) -> Result<Arc<ReadonlyRepo>, RepoLoadError>
pub fn loader(&self) -> RepoLoader
[src]
pub fn as_repo_ref(&self) -> RepoRef<'_>
[src]
pub fn repo_path(&self) -> &PathBuf
[src]
pub fn working_copy_path(&self) -> &PathBuf
[src]
pub fn op_id(&self) -> &OperationId
[src]
pub fn operation(&self) -> &Operation
[src]
pub fn view(&self) -> &ReadonlyView
[src]
pub fn evolution(&self) -> Arc<ReadonlyEvolution>
[src]
pub fn index(&self) -> &Arc<ReadonlyIndex>
[src]
pub fn reindex(&mut self) -> &Arc<ReadonlyIndex>
[src]
pub fn working_copy(&self) -> &Arc<Mutex<WorkingCopy>>
[src]
pub fn working_copy_locked(&self) -> MutexGuard<'_, WorkingCopy>
[src]
pub fn store(&self) -> &Arc<StoreWrapper>
[src]
pub fn op_store(&self) -> &Arc<dyn OpStore>
[src]
pub fn op_heads_store(&self) -> &Arc<OpHeadsStore>
[src]
pub fn index_store(&self) -> &Arc<IndexStore>
[src]
pub fn settings(&self) -> &RepoSettings
[src]
pub fn start_transaction(
self: &Arc<ReadonlyRepo>,
description: &str
) -> Transaction
[src]
self: &Arc<ReadonlyRepo>,
description: &str
) -> Transaction
pub fn reload(&self) -> Result<Arc<ReadonlyRepo>, RepoLoadError>
[src]
pub fn reload_at(
&self,
operation: &Operation
) -> Result<Arc<ReadonlyRepo>, RepoLoadError>
[src]
&self,
operation: &Operation
) -> Result<Arc<ReadonlyRepo>, RepoLoadError>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ReadonlyRepo
impl Send for ReadonlyRepo
impl Sync for ReadonlyRepo
impl Unpin for ReadonlyRepo
impl !UnwindSafe for ReadonlyRepo
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>,