package jenga

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t

create ~dir pattern refers to anything in dir whose basename matches the pattern. Note that patterns with slashes or path globs (**) in them do not work. Special syntax allowed in pattern: * - stands for any string unless it's the leading character, in which case it does not match empty string or hidden files (prefixed with a dot). ? - stands for any character a-z - a character in range 'a' .. 'z' !a-z - a character out of 'a' .. 'z' \ - escapes the character following it alt1,alt2 - matches both alt1 and alt2. can be nested.

val t_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> t
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val create : dir:Path.t -> ?kinds:Kind.t list -> string -> t

create ~dir pattern refers to anything in dir whose basename matches the pattern. Note that patterns with slashes or path globs (**) in them do not work. Special syntax allowed in pattern: * - stands for any string unless it's the leading character, in which case it does not match empty string or hidden files (prefixed with a dot). ? - stands for any character a-z - a character in range 'a' .. 'z' !a-z - a character out of 'a' .. 'z' \ - escapes the character following it alt1,alt2 - matches both alt1 and alt2. can be nested.

matches exactly the filename given

val create_from_path : kinds:Jenga_lib.Fs.Kind.t list option -> Path.t -> t

matches exactly the filename given

OCaml

Innovation. Community. Security.