Module Tdl_filter (.ml)


module Tdl_filter: sig .. end


type filter =
| Group of string
| Item of string
| Empty
| State of Tdl_types.state
| Desc of string
| Before of Tdl_date.t
| Or of filter * filter
| And of filter * filter
| Not of filter
val replace_in_string : pat:string -> subs:string -> s:string -> string
val escape_quotes : string -> string
val string_of_date : Tdl_date.t -> string
val string_of_filter : filter -> string
val concat_paths : string -> string -> string
val title_verifies_path : string -> string -> string -> bool
val group_verifies_filter : filter -> string -> Tdl_types.group -> bool option
val compare_dates : Tdl_date.t -> Tdl_date.t -> int
val item_verifies_filter : filter -> string -> Tdl_types.item -> bool
val filter_groups : filter -> string -> Tdl_types.group list -> Tdl_types.group list
val filter_filter : [> `Group | `Item ] -> filter -> filter option
val split_filter : filter -> filter option * filter option
val filter_group : filter -> Tdl_types.group -> Tdl_types.group