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

Function checkpoint

atomic-cli/src/commands/git/guard.rs:982–997  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

980 }
981
982 fn checkpoint() -> ShimCheckpoint {
983 ShimCheckpoint {
984 version: CHECKPOINT_VERSION,
985 view: "main".to_string(),
986 atomic_state: "atomic-1".to_string(),
987 atomic_manifest_root: Some(root("root-1")),
988 git_head_symref: Some("refs/heads/main".to_string()),
989 git_head: "git-1".to_string(),
990 git_tree: "tree-1".to_string(),
991 git_manifest_root: Some(ManifestRootEvidence::git_tree("tree-1")),
992 git_index_tree: Some("tree-1".to_string()),
993 git_index_digest: Some("index-1".to_string()),
994 git_refs_digest: Some("refs-1".to_string()),
995 git_admin: Some(admin()),
996 }
997 }
998
999 fn admin() -> GitAdminIdentity {
1000 GitAdminIdentity {

Calls 3

rootFunction · 0.85
git_treeFunction · 0.85
adminFunction · 0.85