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

Function observe_atomic_view

atomic-cli/src/commands/git/checkpoint.rs:314–319  ·  view source on GitHub ↗
(root: &Path, view: &str)

Source from the content-addressed store, hash-verified

312}
313
314fn observe_atomic_view(root: &Path, view: &str) -> Result<CheckpointAtomicState, CheckpointError> {
315 let repo = Repository::open_readonly(root).map_err(|error| {
316 CheckpointError::Atomic(format!("cannot open repository read-only: {error}"))
317 })?;
318 observe_atomic_on_handle(&repo, view)
319}
320
321fn observe_atomic_on_handle(
322 repo: &Repository,

Callers 1

Calls 1

observe_atomic_on_handleFunction · 0.85

Tested by

no test coverage detected