package stdune

  1. Overview
  2. Docs
Dune's unstable standard library

Install

Dune Dependency

Authors

Maintainers

Sources

dune-3.19.1.tbz
sha256=a10386f980cda9417d1465466bed50dd2aef9c93b9d06a0f7feeedb0a1541158
sha512=d1622939713133a1f28617229896298d6ef194c48a47d011e4b752490fc83893cc920a8395d7ac60bc384a6c9b233ebf0665f38f74f2774a983e9d3b241a7746

doc/stdune/Stdune/Filename_set/index.html

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.