package stog

  1. Overview
  2. Docs

Finding files.

  • author Didier Remy
  • version 0.1

@cgname File.Find

type filter =
  1. | Maxdepth of int
  2. | Type of Unix.file_kind
  3. | Follow
  4. | Regexp of Str.regexp
  5. | Atime of interval
  6. | Predicate of string -> bool
and interval =
  1. | Le of int
  2. | Eq of int
  3. | Ge of int
type mode =
  1. | Ignore
  2. | Stderr
  3. | Failure
  4. | Custom of (Unix.error * string * string) -> unit
val find : mode -> string list -> filter list -> (string -> unit) -> unit
val find_list : mode -> string list -> filter list -> string list
OCaml

Innovation. Community. Security.