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

Method head

atomic-cli/tests/it/git_adoption_cb7b_test.rs:169–171  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

167 }
168
169 fn head(&self) -> String {
170 git(self.root(), &["rev-parse", "HEAD"])
171 }
172
173 fn checkpoint_view(&self) -> String {
174 let bytes = fs::read_to_string(self.root().join(".atomic/bridge/workspace.json"))

Callers 15

run_git_statusFunction · 0.45
runMethod · 0.45
runMethod · 0.45
target_branchMethod · 0.45
push_to_remoteMethod · 0.45
bind_committed_headMethod · 0.45

Calls 2

gitFunction · 0.70
rootMethod · 0.45

Tested by

no test coverage detected