jon.recoil.org

Module Load_path.Dir

type t

Represent one directory in the load path.

val create : hidden:bool -> string -> Ocaml_utils.Load_path.Dir.t
val path : Ocaml_utils.Load_path.Dir.t -> string
val files : Ocaml_utils.Load_path.Dir.t -> string list

All the files in that directory. This doesn't include files in sub-directories of this directory.

val hidden : Ocaml_utils.Load_path.Dir.t -> bool

If the modules in this directory should not be bound in the initial scope

val find : Ocaml_utils.Load_path.Dir.t -> string -> string option

find dir fn returns the full path to fn in dir.

val find_normalized : Ocaml_utils.Load_path.Dir.t -> string -> string option

As find, but search also for uncapitalized name, i.e. if name is Foo.ml, either /path/Foo.ml or /path/foo.ml may be returned.