Function toFSPath
Parameters
- resource: string
- options: { keepUnmatched: true }
Returns string
Parameters
- resource: string
- options: { allowUnmatched: true }
Returns null | string
- toFSPath(
resource: string,
options?: { allowUnmatched?: boolean; keepUnmatched?: boolean },
): stringParameters
- resource: string
Optional
options: { allowUnmatched?: boolean; keepUnmatched?: boolean }
Returns string
Resolve a resource path to a filesystem path
Param: resource
Path to resolve
Param: allowUnmatched
Do not fail if the path cannot be matched to a filesystem path
Param: keepUnmatched
Return the original path if unmatched. Implies allowUnmatched
Returns
Absolute file system path. A succesful return does not imply the path actually exists
Throws
If the path cannot be mapped to a filesystem path