Make graph clone.
This commit is contained in:
parent
465d94b6ad
commit
b41dfccbdb
|
|
@ -4,5 +4,6 @@ version = "0.1.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
limbo_graph = { branch = "main", git="https://git.jpace121.net/public/limbo_graph.git" }
|
#limbo_graph = { branch = "main", git="https://git.jpace121.net/public/limbo_graph.git" }
|
||||||
|
limbo_graph = { path="../limbo_graph/" }
|
||||||
thiserror = { version = "2.0.18", default-features = false }
|
thiserror = { version = "2.0.18", default-features = false }
|
||||||
|
|
@ -37,6 +37,7 @@ use crate::name_parsing::*;
|
||||||
/// Diagnostics are stored in a tree by their namme.
|
/// Diagnostics are stored in a tree by their namme.
|
||||||
/// Their levels can be reconciled, and the individual
|
/// Their levels can be reconciled, and the individual
|
||||||
/// statuses queried.
|
/// statuses queried.
|
||||||
|
#[derive(Clone)]
|
||||||
pub struct DiagnosticGraph {
|
pub struct DiagnosticGraph {
|
||||||
graph: limbo_graph::Graph<DiagnosticNode>,
|
graph: limbo_graph::Graph<DiagnosticNode>,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue