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

Function moveFile

tests/e2e/utils/fs.ts:24–26  ·  view source on GitHub ↗
(from: string, to: string)

Source from the content-addressed store, hash-verified

22}
23
24export function moveFile(from: string, to: string): Promise<void> {
25 return fs.rename(from, to);
26}
27
28export function symlinkFile(from: string, to: string, type?: string): Promise<void> {
29 return fs.symlink(from, to, type);

Callers 4

moveBackFunction · 0.90

Calls 1

renameMethod · 0.65

Tested by

no test coverage detected