Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ append_revision_field
Function
append_revision_field
atomic-cli/src/commands/vault/mod.rs:88–91 ·
view source on GitHub ↗
(hasher: &mut Hasher, value: &[u8])
Source
from the content-addressed store, hash-verified
86
}
87
88
fn append_revision_field(hasher: &mut Hasher, value: &[u8]) {
89
hasher.update(&(value.len() as u64).to_be_bytes());
90
hasher.update(value);
91
}
92
93
// Vault Subcommands
94
Callers
1
vault_entry_revision_hash
Function · 0.85
Calls
2
update
Method · 0.80
len
Method · 0.45
Tested by
no test coverage detected