Last change
on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
835 bytes
|
Line | |
---|
1 | /// <amd-module name="@angular/compiler-cli/ngcc/src/locking/lock_file_with_child_process/util" />
|
---|
2 | /**
|
---|
3 | * @license
|
---|
4 | * Copyright Google LLC All Rights Reserved.
|
---|
5 | *
|
---|
6 | * Use of this source code is governed by an MIT-style license that can be
|
---|
7 | * found in the LICENSE file at https://angular.io/license
|
---|
8 | */
|
---|
9 | import { AbsoluteFsPath, FileSystem } from '../../../../src/ngtsc/file_system';
|
---|
10 | import { Logger } from '../../../../src/ngtsc/logging';
|
---|
11 | /**
|
---|
12 | * Remove the lock-file at the provided `lockFilePath` from the given file-system.
|
---|
13 | *
|
---|
14 | * It only removes the file if the pid stored in the file matches the provided `pid`.
|
---|
15 | * The provided `pid` is of the process that is exiting and so no longer needs to hold the lock.
|
---|
16 | */
|
---|
17 | export declare function removeLockFile(fs: FileSystem, logger: Logger, lockFilePath: AbsoluteFsPath, pid: string): void;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.