MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / open_existing_for_repair

Method open_existing_for_repair

atomic-core/src/pristine/txn/pristine.rs:448–450  ·  view source on GitHub ↗

Open an existing database for repair without initializing tables or requiring a completed PATH_CLAIMS schema. Opening performs no writes. The returned handle permits a later explicit repair write transaction.

(path: P)

Source from the content-addressed store, hash-verified

446 /// Opening performs no writes. The returned handle permits a later explicit
447 /// repair write transaction.
448 pub fn open_existing_for_repair<P: AsRef<Path>>(path: P) -> PristineResult<Self> {
449 Self::open_existing_with_schema_check(path, false)
450 }
451
452 fn open_existing_with_schema_check<P: AsRef<Path>>(
453 path: P,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected