resolveRoot
@a16njs/models / resolveRoot
Function: resolveRoot()
resolveRoot(
rootOrWorkspace):string
Defined in: workspace.ts:99
Helper to extract the root path from a string or Workspace argument. Useful for plugins migrating to Workspace support.
Parameters
rootOrWorkspace
A string root path or Workspace instance
string | Workspace
Returns
string
The root path string