https://github.com/EasyCrypt/easycrypt
Revision 9f4a2f7c153fe8a1566c8c0ff1bd796083ef587a authored by Pierre-Yves Strub on 03 November 2022, 05:50:59 UTC, committed by Pierre-Yves Strub on 07 November 2022, 20:30:11 UTC
The entry is `file_exclude`. It is a space-separated list of
globs. A file is excluded if its basename matches any of the glob.

See `fnmatch.fnmatch` of the standard Python libraries to get a
description of which glob patterns are supported.

Fix #303
1 parent 8d4e67d
Raw File
Tip revision: 9f4a2f7c153fe8a1566c8c0ff1bd796083ef587a authored by Pierre-Yves Strub on 03 November 2022, 05:50:59 UTC
[ec-runtest]: add the possibility to exclude file based on the name
Tip revision: 9f4a2f7
ecUFind.mli
(* -------------------------------------------------------------------- *)
module type Item = sig
  type t

  val equal  : t -> t -> bool
  val compare: t -> t -> int
end

(* -------------------------------------------------------------------- *)
module type Data = sig
  type data
  type effects

  val default   : data
  val isvoid    : data -> bool
  val noeffects : effects
  val union     : data -> data -> data * effects
end

(* -------------------------------------------------------------------- *)
module type S = sig
  type item
  type data
  type effects

  type t

  val initial: t

  val find  : item -> t -> item
  val same  : item -> item -> t -> bool
  val data  : item -> t -> data
  val set   : item -> data -> t -> t
  val isset : item -> t -> bool
  val union : item -> item -> t -> t * effects
  val domain: t -> item list
  val closed: t -> bool
  val opened: t -> int
end

(* -------------------------------------------------------------------- *)
module Make (I : Item) (D : Data)
  : S with type item    = I.t
       and type data    = D.data
       and type effects = D.effects

(* -------------------------------------------------------------------- *)
module type US = sig
  type item
  type t

  val initial : t

  val find  : item -> t -> item
  val union : item -> item -> t -> t
  val same  : item -> item -> t -> bool
end

(* -------------------------------------------------------------------- *)
module UMake (I : Item) : US with type item = I.t
back to top