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

Function test_edge_key_roundtrip

atomic-core/src/pristine/tables.rs:1097–1103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1095
1096 #[test]
1097 fn test_edge_key_roundtrip() {
1098 let key = encode_edge_key("change:abc", "file:auth.rs", "MODIFIES");
1099 let (from, to, kind) = decode_edge_key(&key).unwrap();
1100 assert_eq!(from, "change:abc");
1101 assert_eq!(to, "file:auth.rs");
1102 assert_eq!(kind, "MODIFIES");
1103 }
1104
1105 #[test]
1106 fn test_tokenize_for_fts() {

Callers

nothing calls this directly

Calls 3

encode_edge_keyFunction · 0.85
decode_edge_keyFunction · 0.85
unwrapMethod · 0.45

Tested by

no test coverage detected