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

Function append_revision_field

atomic-cli/src/commands/vault/mod.rs:90–93  ·  view source on GitHub ↗
(hasher: &mut Hasher, value: &[u8])

Source from the content-addressed store, hash-verified

88}
89
90fn append_revision_field(hasher: &mut Hasher, value: &[u8]) {
91 hasher.update(&(value.len() as u64).to_be_bytes());
92 hasher.update(value);
93}
94
95// Vault Subcommands
96

Callers 1

Calls 2

updateMethod · 0.80
lenMethod · 0.45

Tested by

no test coverage detected