Method

LspInitializeParamsget_root_path

Declaration

const gchar*
lsp_initialize_params_get_root_path (
  LspInitializeParams* self
)

Description

Gets the value of root_path.

Deprecated: in favor of rootUri.

(Kept for backwards compatibility)

The rootPath of the workspace. Is null if no folder is open.

Return value

Type: const gchar*

The value of root_path.

The returned data is owned by the instance.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.