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

Function make_trunk

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

Source from the content-addressed store, hash-verified

459 // -------------------------------------------------------------------------
460
461 fn make_trunk() -> Trunk {
462 Trunk::new(
463 TrunkId::new(NodeId::new(1), 0),
464 Inode::new(42),
465 "src/main.rs".to_string(),
466 Some(Encoding::Utf8),
467 )
468 }
469
470 #[test]
471 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