X-Git-Url: https://git.xandkar.net/?p=dups.git;a=blobdiff_plain;f=dups.ml;h=84c070722b4226a11403da85d665b2159041f684;hp=e88d8885240378b84714202793ab850878588232;hb=7b7a6b7f7790d7d1316f625e16c5ae79292cf32b;hpb=61a05dbbfdda5f3539813fa196d960fb499c2f24 diff --git a/dups.ml b/dups.ml index e88d888..84c0707 100644 --- a/dups.ml +++ b/dups.ml @@ -35,7 +35,7 @@ end = struct ) end -module Directory : sig +module Directory_tree : sig val find_files : string -> string Stream.t end = struct let find_files root = @@ -78,7 +78,7 @@ let main input = let paths = match input with | Paths_on_stdin -> In_channel.lines stdin - | Root_path root -> Directory.find_files root + | Root_path root -> Directory_tree.find_files root in let paths_by_digest = Hashtbl.create 1_000_000 in let path_count = ref 0 in