Skip to main content

resolve_document_path

Function resolve_document_path 

Source
pub fn resolve_document_path(
    uri: &str,
    workspace_root: &Path,
) -> Result<PathBuf, String>
Expand description

Resolve a document URI and ensure it lies under workspace_root (both canonical).