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

Function make_changelist_entry

atomic-cli/tests/it/push_integration_test.rs:149–157  ·  view source on GitHub ↗
(sequence: u64, hash_seed: &str)

Source from the content-addressed store, hash-verified

147}
148
149fn make_changelist_entry(sequence: u64, hash_seed: &str) -> ChangelistEntry {
150 let hash = Hash::of(hash_seed.as_bytes());
151 ChangelistEntry::new(
152 sequence,
153 hash.to_base32(),
154 "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
155 false,
156 )
157}
158
159// PushChange Tests
160

Callers

nothing calls this directly

Calls 2

as_bytesMethod · 0.45
to_base32Method · 0.45

Tested by

no test coverage detected