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

Function read_workspace_metadata

atomic-cli/src/commands/git/shim.rs:2802–2804  ·  view source on GitHub ↗
(root: &Path)

Source from the content-addressed store, hash-verified

2800}
2801
2802pub(crate) fn read_workspace_metadata(root: &Path) -> CliResult<Option<ShimCheckpoint>> {
2803 checkpoint::read_checkpoint(root).map_err(checkpoint_error)
2804}
2805
2806pub(crate) fn open_git(root: &Path) -> CliResult<GitRepository> {
2807 GitRepository::open(root).map_err(|error| git_error(format!("cannot open repository: {error}")))

Callers 6

run_publishFunction · 0.85
switch_transactionFunction · 0.85
verified_baselineMethod · 0.85

Calls 1

read_checkpointFunction · 0.85

Tested by

no test coverage detected