package stdune

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

Like Path.Set.t but tailored for representing sets of file names in the same parent directory. Compared to Path.Set.t, Filename_set.t statically enforces an important invariant, and can also be processed more efficiently.

type t
val equal : t -> t -> bool
val dir : t -> Path.t

The directory of the filename set.

val filenames : t -> String.Set.t

The set of file names, all relative to dir.

val empty : dir:Path.t -> t
val is_empty : t -> bool
val create : ?filter:(basename:string -> bool) -> dir:Path.t -> String.Set.t -> t
val to_list : t -> Path.t list
OCaml

Innovation. Community. Security.