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

Method new

atomic-cli/tests/it/push_integration_test.rs:33–41  ·  view source on GitHub ↗
(hash: Hash, sequence: u64, state: Merkle)

Source from the content-addressed store, hash-verified

31
32impl PushChange {
33 fn new(hash: Hash, sequence: u64, state: Merkle) -> Self {
34 Self {
35 hash,
36 sequence,
37 state,
38 tagged: false,
39 message: None,
40 }
41 }
42
43 fn with_tagged(mut self, tagged: bool) -> Self {
44 self.tagged = tagged;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected