package luv

  1. Overview
  2. Docs
Binding to libuv: cross-platform asynchronous I/O

Install

Dune Dependency

Authors

Maintainers

Sources

luv-0.5.3.tar.gz
sha256=2e15054fe841d9f820ba3e2c9c313a5a5e2150f3b78136ce585a3609dba758bc
md5=352dc50b19479500e3b1ba3b89ae5056

doc/luv/Luv/Path/index.html

Module Luv.PathSource

Sourceval exepath : unit -> (string, Error.t) Result.result

Evaluates to the executable's path.

Binds uv_exepath.

Sourceval cwd : unit -> (string, Error.t) Result.result

Evaluates to the current working directory.

Binds uv_cwd. See getcwd(3p).

Sourceval chdir : string -> (unit, Error.t) Result.result

Changes the current working directory.

Binds uv_chdir. See chdir(3p).

Sourceval homedir : unit -> (string, Error.t) Result.result

Evaluates to the path of the home directory.

Binds uv_os_homedir.

Sourceval tmpdir : unit -> (string, Error.t) Result.result

Evaluates to the path of the temporary directory.

Binds uv_os_tmpdir.

OCaml

Innovation. Community. Security.