package lsp
LSP protocol implementation in OCaml
Install
Dune Dependency
Authors
-
AAndrey Popp <8mayday@gmail.com>
-
RRusty Key <iam@stfoo.ru>
-
LLouis Roché <louis@louisroche.net>
-
OOleksiy Golovko <alexei.golovko@gmail.com>
-
RRudi Grinberg <me@rgrinberg.com>
-
SSacha Ayoun <sachaayoun@gmail.com>
-
Ccannorin <cannorin@gmail.com>
-
UUlugbek Abdullaev <ulugbekna@gmail.com>
-
Thibaut Mattio
-
MMax Lantas <mnxndev@outlook.com>
Maintainers
Sources
jsonrpc-1.10.2.tbz
sha256=8bf1516829f8dcace133f21f633a275a1d9fdcc59339e0359c67b7b02e9ee6c6
sha512=1f8099b3b085ef0e58317802b180d7321e25a1393034c6cb9fe7b9158baee9868113751111a82352b236e1b3b1078188d2ed40b6316d230f3c81c5b69b5ad872
doc/lsp.stdune/Stdune/Digest/index.html
Module Stdune.Digest
Source
Digests (MD5)
The subset of fields of Unix.stats
used by this module.
Digest a path taking into account its Stats_for_digest
.
- If it's a regular file, the resulting digest includes the file's content as well as the its executable permissions bit.
- If it's a directory and
allow_dirs = true
, the function computes the digest ofStats_for_digest
(except for thest_kind
field since it's known to beS_DIR
in this case). This is a poor approach to computing directory digests and we are planning to get rid of it soon.
- Otherwise, the function returns
Unexpected_kind
.
Note that this interface is prone to races: the provided Stats_for_digest
may get stale, so path_with_stats
may return Unix_error (ENOENT, _, _)
even though you've just successfully run Path.stat
on it. The call sites are expected to gracefully handle such races.
Digest a file taking the executable
bit into account. Should not be called on a directory.
Override the implementations of digest computation. Can be used to record the reverse digest map.
Direct_impl
does a plain hashing, with no heed to the overrides given by override_impl
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>