Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[node-core-library] Add support for alreadyExistsBehavior for symlinks and junctions #2884

Merged
merged 10 commits into from
Sep 11, 2021
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "@rushstack/node-core-library",
"comment": "Add support for AlreadyExistsBehavior in symlink and junction scenarios",
"type": "patch"
}
],
"packageName": "@rushstack/node-core-library",
"email": "3473356+D4N14L@users.noreply.github.com"
}
2 changes: 2 additions & 0 deletions common/reviews/api/node-core-library.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,11 @@ export class FileSystem {
static getStatistics(path: string): FileSystemStats;
static getStatisticsAsync(path: string): Promise<FileSystemStats>;
static isErrnoException(error: Error): error is NodeJS.ErrnoException;
static isExistError(error: Error): boolean;
static isFileDoesNotExistError(error: Error): boolean;
static isFolderDoesNotExistError(error: Error): boolean;
static isNotExistError(error: Error): boolean;
static isUnlinkNotPermittedError(error: Error): boolean;
static move(options: IFileSystemMoveOptions): void;
static moveAsync(options: IFileSystemMoveOptions): Promise<void>;
static readFile(filePath: string, options?: IFileSystemReadFileOptions): string;
Expand Down
Loading