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

Function side

atomic-repository/src/repository/conflict_object.rs:634–643  ·  view source on GitHub ↗
(change_seed: u8)

Source from the content-addressed store, hash-verified

632 use super::*;
633
634 fn side(change_seed: u8) -> ConflictSideObject {
635 ConflictSideObject {
636 change: Hash::of(format!("atomic:side:{change_seed}").as_bytes()),
637 start: 0,
638 end: 5 + u64::from(change_seed),
639 content: Hash::of(format!("atomic:content:{change_seed}").as_bytes()),
640 mode: 0o644,
641 kind: ConflictSideKind::Regular,
642 }
643 }
644
645 fn sample() -> ConflictSetObject {
646 ConflictSetObject {

Callers 1

zombie_base_roundtripsFunction · 0.85

Calls 1

as_bytesMethod · 0.45

Tested by 1

zombie_base_roundtripsFunction · 0.68