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

Method refs_snapshot

atomic-cli/tests/it/git_shim_cb13d_test.rs:343–345  ·  view source on GitHub ↗

Every ref with its tip, sorted — the ref-set identity of the repo.

(&self)

Source from the content-addressed store, hash-verified

341
342 /// Every ref with its tip, sorted — the ref-set identity of the repo.
343 fn refs_snapshot(&self) -> String {
344 self.git(&["for-each-ref", "--format=%(refname) %(objectname)"])
345 }
346
347 /// Working-copy byte snapshot (conversion-policy relevant files only;
348 /// .git and .atomic excluded).

Calls 1

gitMethod · 0.45

Tested by

no test coverage detected