MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / shortest_path_unreachable

Function shortest_path_unreachable

nodedb-graph/src/traversal.rs:430–434  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

428
429 #[test]
430 fn shortest_path_unreachable() {
431 let csr = make_csr();
432 let path = csr.shortest_path("d", "a", Some("KNOWS"), 5, DEFAULT_MAX_VISITED, None);
433 assert!(path.is_none());
434 }
435
436 #[test]
437 fn shortest_path_depth_limit() {

Callers

nothing calls this directly

Calls 2

shortest_pathMethod · 0.80
make_csrFunction · 0.70

Tested by

no test coverage detected