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

Function hash_proto

libatomic/src/daemon/convert.rs:7–12  ·  view source on GitHub ↗
(hash: &Merkle)

Source from the content-addressed store, hash-verified

5use atomic_core::types::Merkle;
6
7pub fn hash_proto(hash: &Merkle) -> pb::Hash {
8 pb::Hash {
9 value: hash.0.to_vec(),
10 algorithm: pb::HashAlgorithm::Blake3 as i32,
11 }
12}
13
14pub fn author_proto(author: &Author) -> pb::Author {
15 pb::Author {

Callers 15

get_change_implFunction · 0.70
change_intent_projectionFunction · 0.70
stored_turn_protoFunction · 0.70
list_viewsMethod · 0.70
split_viewMethod · 0.70
logMethod · 0.70
change_infoFunction · 0.70
bare_change_infoFunction · 0.70
recordMethod · 0.70
insert_changesMethod · 0.70
unrecordMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected