package stdune

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

Module Stdune.Filename_setSource

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.

Sourcetype t
Sourceval equal : t -> t -> bool
Sourceval dir : t -> Path.t

The directory of the filename set.

Sourceval filenames : t -> String.Set.t

The set of file names, all relative to dir.

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

Innovation. Community. Security.