package stdune

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

Install

Dune Dependency

Authors

Maintainers

Sources

dune-3.3.1.tbz
sha256=840c80491bfe12bab5f2b99d49e163f3e4c4d2fc4b4a3e6fb16c24dccd5502e1
sha512=b5d7639336b5df8cf37b8aac45906c6d0ff7e38b1a4a2c6ddb616ea81cdc5a8ff36cecf3d4ee4ff9282c835ed2958d4702ae1b3dd1f048c4269f5e7fedbe50d5

doc/stdune.filesystem_stubs/Dune_filesystem_stubs/index.html

Module Dune_filesystem_stubsSource

Efficient directory listing with kinds.

Sourcemodule Unix_error : sig ... end

Auxiliary functions for working with Unix errors.

Sourcemodule File_kind : sig ... end

Auxiliary functions for working with Unix file kinds.

Sourceval read_directory_with_kinds : string -> ((string * File_kind.t) list, Unix_error.Detailed.t) Result.t

read_directory_with_kinds is similar to Sys.readdir, while additionally returning kinds of the filesystem entries.

Sourceval read_directory : string -> (string list, Unix_error.Detailed.t) Result.t

read_directory_with_kinds d returns all the filesystem entries in d except for "." and "..", similar to Sys.readdir.

OCaml

Innovation. Community. Security.