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

Method adoption_actors

atomic-cli/tests/it/git_adoption_cb7b_test.rs:220–229  ·  view source on GitHub ↗

Which adoption branch ran, from the journaled operation actors.

(&self)

Source from the content-addressed store, hash-verified

218
219 /// Which adoption branch ran, from the journaled operation actors.
220 fn adoption_actors(&self) -> String {
221 self.adoption_operation_ids("git-head-adoption-reassembly");
222 self.adoption_operation_ids("git-head-adoption-unknown-origin");
223 let log = atomic_ok(
224 self.root(),
225 self.home(),
226 &["op", "log", "--json", "-n", "60"],
227 );
228 log
229 }
230
231 /// Operation IDs whose system actor matches `actor_name`.
232 fn adoption_operation_ids(&self, actor_name: &str) -> Vec<String> {

Calls 4

atomic_okFunction · 0.70
rootMethod · 0.45
homeMethod · 0.45

Tested by

no test coverage detected