diff options
Diffstat (limited to 'lib/cUnix.mli')
-rw-r--r-- | lib/cUnix.mli | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/cUnix.mli b/lib/cUnix.mli index 00419bc97..c740d1254 100644 --- a/lib/cUnix.mli +++ b/lib/cUnix.mli @@ -12,6 +12,11 @@ type physical_path = string type load_path = physical_path list val canonical_path_name : string -> string +val remove_path_dot : string -> string +val strip_path : string -> string +(** correct_path f dir = dir/f if f is relative *) +val correct_path : string -> string -> string + val physical_path_of_string : string -> physical_path val string_of_physical_path : physical_path -> string @@ -30,3 +35,6 @@ val file_readable_p : string -> bool val run_command : (string -> string) -> (string -> unit) -> string -> Unix.process_status * string +(** checks if two file names refer to the same (existing) file *) +val same_file : string -> string -> bool + |