package spotlib

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

Module File.TestSource

/usr/bin/test like file testing

Sourcetype test_unary = string -> ([ `TRUE of Unix.stats | `FALSE of Unix.stats ], Unix.error) result
Sourceval _d : string -> bool

-d: FILE exists and is a directory

Sourceval _e : string -> bool
Sourceval _e' : string -> ([ `TRUE of Unix.stats | `FALSE ], Unix.error) result

-e: FILE exists

Sourceval _f : string -> bool

-f: FILE exists and is a regular file

Sourceval _h : string -> bool

-h: FILE exists and is a symbolic link (same as -L)

Sourceval _L : string -> bool

-L: FILE exists and is a symbolic link (same as -h)

Sourceval _s : string -> bool

-s: FILE exists and has a size greater than zero

OCaml

Innovation. Community. Security.