aboutsummaryrefslogtreecommitdiff
path: root/server/tools/src/graph.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-10-08 23:33:59 +0200
committermetamuffin <metamuffin@disroot.org>2025-10-08 23:33:59 +0200
commitc768cd1240c272dad34f07b09340cfe1d11d67b6 (patch)
tree7a422e56ee6874a44aa5edba018cf0e902058db3 /server/tools/src/graph.rs
parentb8af9f80385fa4d38bc2ac2109250fa9ea2a8080 (diff)
downloadhurrycurry-c768cd1240c272dad34f07b09340cfe1d11d67b6.tar
hurrycurry-c768cd1240c272dad34f07b09340cfe1d11d67b6.tar.bz2
hurrycurry-c768cd1240c272dad34f07b09340cfe1d11d67b6.tar.zst
merge all makefiles into one
Diffstat (limited to 'server/tools/src/graph.rs')
-rw-r--r--server/tools/src/graph.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/tools/src/graph.rs b/server/tools/src/graph.rs
index a65ffc97..343047da 100644
--- a/server/tools/src/graph.rs
+++ b/server/tools/src/graph.rs
@@ -20,8 +20,7 @@ use hurrycurry_data::index::DataIndex;
use hurrycurry_protocol::{Demand, ItemIndex, Recipe, RecipeIndex};
pub(crate) fn graph() -> Result<()> {
- let mut index = DataIndex::default();
- index.reload()?;
+ let index = DataIndex::new("data".into())?;
println!("digraph {{");