Move modules into dedicated files
[dups.git] / lib / file.mli
diff --git a/lib/file.mli b/lib/file.mli
new file mode 100644 (file)
index 0000000..d6e6fa0
--- /dev/null
@@ -0,0 +1,17 @@
+module M = Metrics
+
+type t =
+  { path : string
+  ; size : int
+  }
+
+val find : string -> t Stream.t
+(** Find all files in the directory tree, starting from the given root path *)
+
+val lookup : string Stream.t -> t Stream.t
+(** Lookup file info for given paths *)
+
+val head : t -> len:int -> metrics:M.t -> string
+
+val filter_out_unique_sizes : t Stream.t -> metrics:M.t -> t Stream.t
+val filter_out_unique_heads : t Stream.t -> len:int -> metrics:M.t -> t Stream.t
This page took 0.020516 seconds and 4 git commands to generate.