Module As_part_dir

module As_part_dir: sig .. end
Directory part.

See Assemblage.Dir.



Metadata


type kind = [ `Bin
| `Doc
| `Etc
| `Lib
| `Man
| `Other of As_path.t
| `Sbin
| `Share
| `Share_root
| `Stublibs
| `Toplevel ]
val pp_kind : Format.formatter -> kind -> unit
val kind : [< `Dir ] As_part.t -> kind
val install : [< `Dir ] As_part.t -> bool

Product selectors


type spec = As_part.kind As_part.t -> (As_path.t * As_path.rel option) list As_conf.value 
val all : spec
val all_output : spec
val all_input : spec
val file_exts : As_path.ext list -> spec
val bin : spec
val lib : spec
val doc : spec

Dir


val v : ?usage:As_part.usage ->
?exists:bool As_conf.value ->
?args:As_args.t ->
?spec:spec ->
?install:bool ->
kind ->
[< `Base | `Bin | `Dir | `Doc | `Lib | `Unit ] As_part.t list ->
[< As_part.kind > `Dir ] As_part.t