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

Function repository_observation

atomic-cli/src/commands/git/observation.rs:1559–1564  ·  view source on GitHub ↗
(root: &Path)

Source from the content-addressed store, hash-verified

1557 }
1558
1559 fn repository_observation(root: &Path) -> Box<GitRepositoryObservation> {
1560 match observe_git(root).expect("observe") {
1561 GitObservation::Repository(observation) => observation,
1562 GitObservation::NoGit { .. } => panic!("expected Git repository"),
1563 }
1564 }
1565
1566 fn checkpoint_for(
1567 observation: &GitRepositoryObservation,

Calls 1

observe_gitFunction · 0.85