ParseWorkspaceFile

Function ParseWorkspaceFile 

Source
pub fn ParseWorkspaceFile(
    WorkspaceFilePath: &Path,
    FileContent: &str,
) -> Result<Vec<WorkspaceFolderStateDTO>, CommonError>
Expand description

Parses a .code-workspace file content and resolves the folder paths.

§Parameters

  • WorkspaceFilePath: The absolute path to the .code-workspace file.
  • FileContent: The raw string content of the file.

§Returns

A Result containing a vector of WorkspaceFolderStateDTOs.