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

Function make_trunk

atomic-core/src/crdt/trunk.rs:487–494  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

485 // -------------------------------------------------------------------------
486
487 fn make_trunk() -> Trunk {
488 Trunk::new(
489 TrunkId::new(NodeId::new(1), 0),
490 Inode::new(42),
491 "src/main.rs".to_string(),
492 Some(Encoding::Utf8),
493 )
494 }
495
496 #[test]
497 fn test_trunk_new() {

Callers 8

test_trunk_newFunction · 0.85
test_trunk_is_textFunction · 0.85
test_trunk_is_binaryFunction · 0.85
test_trunk_set_stateFunction · 0.85
test_trunk_set_pathFunction · 0.85
test_trunk_displayFunction · 0.85
test_trunk_serdeFunction · 0.85

Calls

no outgoing calls

Tested by 8

test_trunk_newFunction · 0.68
test_trunk_is_textFunction · 0.68
test_trunk_is_binaryFunction · 0.68
test_trunk_set_stateFunction · 0.68
test_trunk_set_pathFunction · 0.68
test_trunk_displayFunction · 0.68
test_trunk_serdeFunction · 0.68