Method

LspInitializeParamsset_root_path

Declaration

void
lsp_initialize_params_set_root_path (
  LspInitializeParams* self,
  const gchar* value
)

Description

Sets 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.

Parameters

value

Type: const gchar*

The new value of root_path.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.