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.