package codept-lib

  1. Overview
  2. Docs
Alternative ocaml dependency analyzer

Install

dune-project
 Dependency

Authors

Maintainers

Sources

codept-0.13.0.tbz
sha256=5e6631d6bcb84d149460d046c71afa4a6342aa8d9adaf2b1f45989dd33a3ac92
sha512=ed58520e2b94c6d6b01466f2de464e5bfd95efd8d9d8e41e1d95e3c3f250b20118b3c2d08492cbc86152c334730fa43d110331d090fcc98e8be7fdc7b47962ff

doc/codept-lib/Pkg/index.html

Module PkgSource

Localized path for package

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

Printing function

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

Extension handling

Sourceval change_extension : string -> path -> path
Sourceval cmo : path -> path
Sourceval o : path -> path
Sourceval cmi : path -> path
Sourceval cmx : path -> path
Sourceval cmxs : path -> path
Sourceval 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

Sourcemodule Set : sig ... end
Sourcetype set = Set.t
Sourcemodule Map : sig ... end
Sourcetype 'a map = 'a Map.t