(ctx: &str, e: E)
| 33 | TableDefinition::new("reverse_edges"); |
| 34 | |
| 35 | pub(super) fn redb_err<E: std::fmt::Display>(ctx: &str, e: E) -> crate::Error { |
| 36 | crate::Error::Storage { |
| 37 | engine: "graph".into(), |
| 38 | detail: format!("{ctx}: {e}"), |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | // Re-export shared Direction from nodedb-types. |
| 43 | pub use nodedb_types::graph::Direction; |
no outgoing calls
no test coverage detected