Method

LspInitializeParamsget_root_uri

Declaration

GUri*
lsp_initialize_params_get_root_uri (
  LspInitializeParams* self
)

Description

Gets the value of root_uri.

Deprecated: in favor of workspaceFolders

(Kept for backwards compatibility)

The rootUri of the workspace. Is null if no folder is open. If both rootPath and rootUri are set rootUri wins.

Return value

Type: GUri

The value of root_uri.

The returned data is owned by the instance.
The return value can be NULL.