package lsp

  1. Overview
  2. Docs
LSP protocol implementation in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

jsonrpc-1.3.0.tbz
sha256=598e27258e4749b6e2511e2c5efe00d16f0965806296e808d202cd614d655fba
sha512=febe80f8a88fac7683cafbd045dceee4869beda1f250b78a1d94d3ad19e746388d24869e805abcb2f33f93687508d65db19a38424c1059670915c050b4f6dbb9

doc/lsp.stdune/Stdune/Lock_file/index.html

Module Stdune.Lock_fileSource

A mutually exclusive lock file.

Sourcetype t
Sourceval create : Path.t -> t

create path creates a mutually exclusive lock file. The lock is held until the lock is released or this process ends.

Sourceval try_create : Path.t -> t option

Same as create path expect that try_create path returns None if the file is already locked by another process.

Sourceval unlock : t -> unit

unlock t releases lock file t.

OCaml

Innovation. Community. Security.