package luv

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

Install

Dune Dependency

Authors

Maintainers

Sources

luv-0.5.6.tar.gz
sha256=35d8092d7a7e8d00a7ab8caf79d99e2073baf1999f5b9274de4d69078ad83685
md5=fb78fd1b179f5c9585e79b5a1c5ff644

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.