aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/system.mli
diff options
context:
space:
mode:
authorGravatar fkirchne <fkirchne@85f007b7-540e-0410-9357-904b9bb8a0f7>2010-05-28 16:40:18 +0000
committerGravatar fkirchne <fkirchne@85f007b7-540e-0410-9357-904b9bb8a0f7>2010-05-28 16:40:18 +0000
commit919b30f6d188fcfc6dc40b364d54c0458be3591e (patch)
tree6b09e7bcc2bd155c9882fa9dd0c5c04001d56ab2 /lib/system.mli
parentd401a2854ef77598e8d34c671f9402ba2cdd7b96 (diff)
Use existing functions to reimplement search_exe.
Most of the code in search_exe_in_path was about parsing the PATH into a list of directories, which is now done in function lpath_from_path. Existence of the file is checked using already existing functions, so that duplication is minimized. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13033 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'lib/system.mli')
-rw-r--r--lib/system.mli1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/system.mli b/lib/system.mli
index d8a4088d0..ce5fd8b01 100644
--- a/lib/system.mli
+++ b/lib/system.mli
@@ -23,6 +23,7 @@ val exclude_search_in_dirname : string -> unit
val all_subdirs : unix_path:string -> (physical_path * string list) list
val is_in_path : load_path -> string -> bool
+val is_in_system_path : string -> bool
val where_in_path : ?warn:bool -> load_path -> string -> physical_path * string
val physical_path_of_string : string -> physical_path