package lsp

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Path.SourceSource

In the source section of the current workspace.

Sourcetype w
Sourceval hash : t -> int
Sourceval to_string : t -> string
Sourceval of_string : string -> t
Sourceval parse_string_exn : loc:Stdune__.Loc0.t -> string -> t

a directory is smaller than its descendants

include Comparator.S with type t := t
Sourceval compare : t -> t -> Ordering.t
include Comparator.OPS with type t := t
Sourceval equal : t -> t -> bool
Sourceval (=) : t -> t -> bool
Sourceval (>=) : t -> t -> bool
Sourceval (>) : t -> t -> bool
Sourceval (<=) : t -> t -> bool
Sourceval (<) : t -> t -> bool
Sourceval (<>) : t -> t -> bool
Sourceval to_dyn : t -> Dyn.t
Sourceval extension : t -> string
Sourceval set_extension : t -> ext:string -> t

set_extension path ~ext replaces extension of path by ext

Sourceval split_extension : t -> t * string
Sourceval basename : t -> string
Sourceval basename_opt : t -> string option
Sourceval extend_basename : t -> suffix:string -> t
Sourcemodule Set : sig ... end
Sourcemodule Map : Map.S with type key = t
Sourcemodule Table : Hashtbl.S with type key = t
Sourceval to_string_maybe_quoted : t -> string
Sourceval is_descendant : t -> of_:t -> bool
Sourceval is_root : t -> bool
Sourceval parent_exn : t -> t
Sourceval parent : t -> t option
Sourceval root : t
Sourcemodule L : sig ... end
Sourceval of_local : Local.t -> t
Sourceval relative : ?error_loc:Stdune__.Loc0.t -> t -> string -> t
Sourceval split_first_component : t -> (string * Local.t) option
Sourceval explode : t -> string list
Sourceval is_in_build_dir : t -> bool

Source.t does not statically forbid overlap with build directory, even though having such paths is almost always an error.

Sourceval descendant : t -> of_:t -> t option
Sourceval to_local : t -> Local.t
OCaml

Innovation. Community. Security.