MCPcopy
hub / github.com/angular/angular-cli / writeWorkspace

Function writeWorkspace

packages/schematics/angular/utility/workspace.ts:104–112  ·  view source on GitHub ↗
(
  tree: Tree,
  workspace: WorkspaceDefinition,
  path?: string,
)

Source from the content-addressed store, hash-verified

102 * will be used.
103 */
104export async function writeWorkspace(
105 tree: Tree,
106 workspace: WorkspaceDefinition,
107 path?: string,
108): Promise<void> {
109 const host = new TreeWorkspaceHost(tree);
110
111 return workspaces.writeWorkspace(workspace, host, path);
112}
113
114/**
115 * Build a default project path for generating.

Callers 3

index.tsFile · 0.90
workspace_spec.tsFile · 0.90
index.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected