Open an existing repository. This searches for a `.atomic` directory starting from the given path and walking up to parent directories. # Arguments `path` - A path inside the repository (or the repository root) A repository in the legacy `pristine.redb` + `changes.redb` layout is merged into `atomic.redb` first (see [`ensure_database`]). A database held by another process is waited on for a fe
(path: P)
| 552 | /// |
| 553 | /// Returns an error if no repository is found. |
| 554 | pub fn open<P: AsRef<Path>>(path: P) -> Result<Self, RepositoryError> { |
| 555 | Self::open_with_budget(path, ReconcileEffectBudget::Command) |
| 556 | } |
| 557 | |
| 558 | /// Open an existing repository under an explicit effect budget (CB-13D). |
| 559 | /// |
no outgoing calls