package spotlib

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

Module Spotlib.XsysSource

Sourceval mkdir : ?perm:Unix.file_perm -> ?recursive:bool -> string -> (unit, string * [> `Already_exists of Unix.stats | `Not_a_directory of Unix.stats | `Unix of Unix.error ]) result

Create a directory of the given name. Does nothing if the directory exists already.

Bug: No chmod if the directroy already exists.

Sourceval checkenv : string -> bool

check existence of environment variable

Sourceval command : ('a, unit, string, int) format4 -> 'a
Sourceval must : ('a, unit, string, unit) format4 -> 'a
Sourceval cp : string -> string -> unit
Sourceval patch_p1 : string -> unit
Sourceval with_chdir : string -> ('a -> 'b) -> 'a -> 'b

may raise Invalid_arg "Xsys.with_chdir"

Sourceval with_chdir_ : string -> (unit -> 'b) -> 'b

with_chdir_ d f = with_chdir d f ()

OCaml

Innovation. Community. Security.