summaryrefslogtreecommitdiffstats
path: root/src/traverse.rs
diff options
context:
space:
mode:
authorSebastian Thiel <sthiel@thoughtworks.com>2019-06-03 22:27:18 +0530
committerSebastian Thiel <sthiel@thoughtworks.com>2019-06-03 22:27:18 +0530
commit2aad00a568b31120144a16e80965be0495cf036f (patch)
treec9c3d62058ea8ffb355834870947a90083ec4b0d /src/traverse.rs
parentb255e63193cbb5e8e09c169334df2b2c35e2a5e7 (diff)
Removed support to change amount of storable nodes
Diffstat (limited to 'src/traverse.rs')
-rw-r--r--src/traverse.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/traverse.rs b/src/traverse.rs
index 9c2501c..3690c1e 100644
--- a/src/traverse.rs
+++ b/src/traverse.rs
@@ -4,9 +4,8 @@ use petgraph::graph::NodeIndex;
use petgraph::{Directed, Direction, Graph};
use std::{ffi::OsString, path::PathBuf, time::Duration, time::Instant};
-pub type TreeIndexType = u32;
-pub type TreeIndex = NodeIndex<TreeIndexType>;
-pub type Tree = Graph<EntryData, (), Directed, TreeIndexType>;
+pub type TreeIndex = NodeIndex;
+pub type Tree = Graph<EntryData, (), Directed>;
#[derive(Eq, PartialEq, Debug, Default)]
pub struct EntryData {