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/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 -> path -> out_channel
Sourceval with_file_in : ?binary:bool -> path -> f:(in_channel -> 'a) -> 'a
Sourceval with_file_out : ?binary:bool -> 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 read_file : ?binary:bool -> path -> string
Sourceval write_file : ?binary:bool -> path -> string -> unit
Sourceval compare_files : path -> path -> Ordering.t
Sourceval compare_text_files : path -> path -> Ordering.t
Sourceval write_lines : ?binary:bool -> 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.