MCPcopy Index your code
hub / github.com/angular/angular-cli / load

Method load

packages/angular/cli/src/utilities/config.ts:158–166  ·  view source on GitHub ↗
(workspaceFilePath: string)

Source from the content-addressed store, hash-verified

156 }
157
158 static async load(workspaceFilePath: string): Promise<AngularWorkspace> {
159 const result = await workspaces.readWorkspace(
160 workspaceFilePath,
161 createWorkspaceHost(),
162 workspaces.WorkspaceFormat.JSON,
163 );
164
165 return new AngularWorkspace(result.workspace, workspaceFilePath);
166 }
167}
168
169const cachedWorkspaces = new Map<string, AngularWorkspace | undefined>();

Callers 3

loadAndParseWorkspaceFunction · 0.80
getWorkspaceFunction · 0.80

Calls 1

createWorkspaceHostFunction · 0.70

Tested by

no test coverage detected