Module Load_path.DirSource

Sourcetype t

Represent one directory in the load path.

Sourceval create : string -> t
Sourceval path : t -> string
Sourceval files : t -> string list

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

Sourceval find : t -> string -> string option

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

Sourceval find_uncap : 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.