package lsp

  1. Overview
  2. Docs
LSP protocol implementation in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

jsonrpc-1.6.1.tbz
sha256=bccc0d7194714a4c40c362766ad9095d3c58505a1d4f1dc4becd9b3d1bda8209
sha512=199bee8c74aec6822bc83bf9a7c3757206bdaa55a19cd1f5cf480127618a078baa1e917f6a90a6135a5277e4eb87977e685c10e6503f546997e6b985949e190f

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

Module Stdune.IoSource

IO operations.

Sourceval close_in : in_channel -> unit
Sourceval close_out : out_channel -> unit
Sourceval close_both : (in_channel * out_channel) -> unit
Sourceval input_lines : in_channel -> string list
Sourceval copy_channels : in_channel -> out_channel -> unit

This function is not safe to use from multiple threads, even if operating on unrelated channels because it uses a statically-allocated global buffer.

Sourceval read_all : in_channel -> string
Sourcetype path = Path.t
Sourceval open_in : ?binary:bool -> path -> in_channel
Sourceval open_out : ?binary:bool -> ?perm:int -> path -> out_channel
Sourceval with_file_in : ?binary:bool -> path -> f:(in_channel -> 'a) -> 'a
Sourceval with_file_out : ?binary:bool -> ?perm:int -> path -> f:(out_channel -> 'a) -> 'a
Sourceval with_lexbuf_from_file : path -> f:(Lexing.lexbuf -> 'a) -> 'a
Sourceval lines_of_file : path -> string list
Sourceval zero_strings_of_file : path -> string list

Reads zero-separated strings from a file

Sourceval read_file : ?binary:bool -> path -> string
Sourceval write_file : ?binary:bool -> ?perm:int -> path -> string -> unit
Sourceval compare_files : path -> path -> Ordering.t
Sourceval compare_text_files : path -> path -> Ordering.t
Sourceval write_lines : ?binary:bool -> ?perm:int -> path -> string list -> unit
Sourceval copy_file : ?chmod:(int -> int) -> src:path -> dst:path -> unit -> unit
Sourceval setup_copy : ?chmod:(int -> int) -> src:path -> dst:path -> unit -> in_channel * out_channel
Sourceval file_line : path -> int -> string
Sourceval file_lines : path -> start:int -> stop:int -> (string * string) list
Sourcemodule String_path : sig ... end
OCaml

Innovation. Community. Security.