package lsp

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

Efficient directory listing with kinds.

module Unix_error : sig ... end

Auxiliary functions for working with Unix errors.

module File_kind : sig ... end

Auxiliary functions for working with Unix file kinds.

val 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.

val 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.