Load\_path.Dir(3) OCaml library Load\_path.Dir(3)

# [NAME](#NAME)

Load\_path.Dir - no description

# [Module](#Module)

Module Load\_path.Dir

# [Documentation](#Documentation)

Module **Dir**  
: **sig end**

*type t*

Represent one directory in the load path.

*val create* : **hidden:bool -&gt; string -&gt; t**

*val path* : **t -&gt; string**

*val files* : **t -&gt; string list**

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

*val hidden* : **t -&gt; bool**

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

*val find* : **t -&gt; string -&gt; string option**

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

*val find\_normalized* : **t -&gt; string -&gt; string option**

As **Load\_path.Dir.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.

2026-10-23 OCamldoc

---

Document: Load_path.Dir(3o) from ocaml 5.5.2-r0 (Chainguard OS)
Source: https://github.com/ocaml/ocaml
