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

Function sha256

atomic-core/src/change/classification.rs:341–343  ·  view source on GitHub ↗
(byte: u8)

Source from the content-addressed store, hash-verified

339 }
340
341 fn sha256(byte: u8) -> GitObjectId {
342 GitObjectId::new(GitHashAlgorithm::Sha256, vec![byte; 32]).unwrap()
343 }
344
345 #[test]
346 fn causal_frontier_rejects_duplicate_and_unsorted_roots() {

Callers

nothing calls this directly

Calls 1

unwrapMethod · 0.45

Tested by

no test coverage detected