Load_path.Dir(3)

🌸 NAME 🌸

Load_path.Dir β€” no description. Bestie, the manual literally says β€œno description,” and honestly? Mysterious main character energy. This page is Load_path.Dir(3) from the OCaml library manual, so here’s the whole vibe. πŸ’…

πŸ¦‹ Module πŸ¦‹

Module Dir : sig end

πŸ’– Documentation πŸ’–

type t β€” Represent one directory in the load path. Slay, simple. 🫢

  • val create : hidden:bool -> string -> t β€” signature only on this page, no extra description. ✨
  • val path : t -> string β€” signature only again, no extra description. πŸ’…
  • val files : t -> string list β€” All the files in that directory. This doesn't include files in sub-directories of this directory. πŸŽ€
  • val hidden : t -> bool β€” If the modules in this directory should not be bound in the initial scope. πŸ‘€
  • val find : t -> string -> string option β€” find dir fn returns the full path to fn in dir. πŸ”₯
  • val find_normalized : t -> string -> 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. 🌈

That’s the whole page, bestie. πŸ’œ Source/version vibes: OCamldoc, dated 2026-06-22 β€” and yes, it’s the Load_path.Dir(3) page. πŸŽ€βœ¨

πŸ“¦ where this page comes from