diff options
| author | metamuffin <metamuffin@disroot.org> | 2025-10-08 23:33:59 +0200 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2025-10-08 23:33:59 +0200 |
| commit | c768cd1240c272dad34f07b09340cfe1d11d67b6 (patch) | |
| tree | 7a422e56ee6874a44aa5edba018cf0e902058db3 /server/tools/src/graph.rs | |
| parent | b8af9f80385fa4d38bc2ac2109250fa9ea2a8080 (diff) | |
| download | hurrycurry-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.rs | 3 |
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 {{"); |