Expand description
Workspace folder URI/path parsing.
This crate has one narrow responsibility: convert workspace folder entries into
local filesystem paths with deterministic behavior for both plain paths and
file:// URIs.
Structs§
- Workspace
Folder Change - URI lists extracted from an LSP workspace folder change event.
Functions§
- extract_
workspace_ folder_ change - Extract URI changes from an LSP
workspace/didChangeWorkspaceFoldersevent payload. - extract_
workspace_ folder_ uris - Extract workspace folder URIs from an LSP
workspaceFoldersarray. - root_
path_ to_ file_ uri - Convert a legacy LSP
rootPathstring to afile://URI. - workspace_
folder_ to_ path - Parse a workspace folder declaration into a filesystem path.