NAME
PLS::Util
DESCRIPTION
Utility functions for PLS
FUNCTIONS
resolve_workspace_relative_path
Given a path, potentially with ${workspaceFolder} or $ROOT_PATH, returns a list of paths with those variables resolved to an actual workspace folder. Additionally, any needed globbing will be performed.
The returned list will only contain paths that exist.
PARAMETERS
- path
-
The path from user configuration that needs to be resolved.
- workspace_folders
-
An array of the workspace folders. If empty or not passed, this list will be queried from PLS::Parser::Index.
- no_glob
-
If true, no globbing will be performed against the path.