Skip to content

Uris

[Source]

primitive val Uris

Constructors

create

[Source]

new val create()
: Uris val^

Returns


Public Functions

to_path

[Source]

Ensure an LSP uri (https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#uri) is converted to a path, so the schema:// needs to be dropped, if present.

fun box to_path(
  uri: String val)
: String val

Parameters

Returns


from_path

[Source]

Convert a local path to an LSP uri

fun box from_path(
  path: String val)
: String val

Parameters

Returns


eq

[Source]

fun box eq(
  that: Uris val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: Uris val)
: Bool val

Parameters

Returns