File: arg.mli

package info (click to toggle)
ocaml-dune 3.20.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 33,564 kB
  • sloc: ml: 175,178; asm: 28,570; ansic: 5,251; sh: 1,096; lisp: 625; makefile: 148; python: 125; cpp: 48; javascript: 10
file content (42 lines) | stat: -rw-r--r-- 999 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
open Stdune

include module type of struct
  include Cmdliner.Arg
end

module Path : sig
  module External : sig
    type t

    val path : t -> Path.External.t
    val arg : t -> string
  end

  type t

  val path : t -> Path.t
  val arg : t -> string
end

module Dep : sig
  type t = Dune_lang.Dep_conf.t

  val equal : t -> t -> bool
  val file : string -> t
  val alias : dir:Stdune.Path.Local.t -> Dune_engine.Alias.Name.t -> t
  val alias_rec : dir:Stdune.Path.Local.t -> Dune_engine.Alias.Name.t -> t
  val to_string_maybe_quoted : t -> string
  val alias_arg : t conv
  val alias_rec_arg : t conv
end

val bytes : int64 conv
val context_name : Dune_engine.Context_name.t conv
val dep : Dep.t conv
val graph_format : Dune_graph.Graph.File_format.t conv
val path : Path.t conv
val external_path : Path.External.t conv
val package_name : Dune_lang.Package.Name.t conv
val profile : Dune_lang.Profile.t conv
val lib_name : Dune_lang.Lib_name.t conv
val version : Dune_lang.Syntax.Version.t conv