package codept-lib

  1. Overview
  2. Docs

Localized path for package

type source =
  1. | Local
  2. | Unknown
  3. | Pkg of Namespaced.t
  4. | Special of Name.t
type t = {
  1. source : source;
  2. file : Namespaced.t;
}
type path = t
val sch : t Schematic.t
val pp_source : Format.formatter -> source -> unit

Printing function

val pp_simple : Format.formatter -> path -> unit
val pp_gen : string -> Format.formatter -> path -> unit
val pp : Format.formatter -> path -> unit
val reflect : Format.formatter -> path -> unit
val filename : ?sep:string -> t -> string
val local : string -> path
val (/) : Paths.Simple.t -> t -> t
val is_known : t -> bool
val module_name : path -> Modname.t
val update_extension : (string -> string) -> path -> path

Extension handling

val change_extension : string -> path -> path
val cmo : path -> path
val o : path -> path
val cmi : path -> path
val cmx : path -> path
val cmxs : path -> path
val mk_dep : bool -> bool -> path -> path

mk_dep all native path generates either a cmi, a cmo or a cmx depending on the extension of path

module Set : sig ... end
type set = Set.t
module Map : sig ... end
type 'a map = 'a Map.t
OCaml

Innovation. Community. Security.