Fix missing directory filename separator
This commit is contained in:
parent
aaf1ff76a7
commit
551c907875
@ -44,7 +44,7 @@ let iter_valid_text dir pred fn p =
|
|||||||
let fold_valid_text dir pred fn acc p =
|
let fold_valid_text dir pred fn acc p =
|
||||||
if not (text_filetype dir p) then acc else
|
if not (text_filetype dir p) then acc else
|
||||||
match to_text dir p with
|
match to_text dir p with
|
||||||
Error x -> prerr_endline x; acc | Ok t -> if pred t then fn acc (t, dir^p) else acc
|
Error x -> prerr_endline x; acc | Ok t -> if pred t then fn acc (t, dir//p) else acc
|
||||||
|
|
||||||
let iter ?(predicate=fun _ -> true) ?order fn {store;_} =
|
let iter ?(predicate=fun _ -> true) ?order fn {store;_} =
|
||||||
match order with
|
match order with
|
||||||
|
Loading…
x
Reference in New Issue
Block a user