1Load_path.Dir(3) OCaml library Load_path.Dir(3)
2
3
4
6 Load_path.Dir - no description
7
9 Module Load_path.Dir
10
12 Module Dir
13 : sig end
14
15
16
17
18
19
20
21 type t
22
23
24 Represent one directory in the load path.
25
26
27
28 val create : string -> t
29
30
31
32
33 val path : t -> string
34
35
36
37
38 val files : t -> string list
39
40 All the files in that directory. This doesn't include files in sub-di‐
41 rectories of this directory.
42
43
44
45 val find : t -> string -> string option
46
47
48 find dir fn returns the full path to fn in dir .
49
50
51
52 val find_uncap : t -> string -> string option
53
54 As Load_path.Dir.find , but search also for uncapitalized name, i.e. if
55 name is Foo.ml, either /path/Foo.ml or /path/foo.ml may be returned.
56
57
58
59
60
61OCamldoc 2023-07-20 Load_path.Dir(3)