@file-services/types
Advanced tools
Comparing version 0.4.4 to 0.4.6
@@ -61,2 +61,6 @@ /// <reference types="node" /> | ||
realpathSync(path: string): string; | ||
/** | ||
* Rename (move) a file or a directory | ||
*/ | ||
renameSync(sourcePath: string, destinationPath: string): void; | ||
} | ||
@@ -114,2 +118,6 @@ /** | ||
realpath(path: string): Promise<string>; | ||
/** | ||
* Rename (move) a file or a directory | ||
*/ | ||
rename(sourcePath: string, destinationPath: string): Promise<void>; | ||
} | ||
@@ -116,0 +124,0 @@ /** |
{ | ||
"name": "@file-services/types", | ||
"description": "Common file system interfaces", | ||
"version": "0.4.4", | ||
"version": "0.4.6", | ||
"main": "cjs/index.js", | ||
@@ -24,3 +24,3 @@ "types": "cjs/index.d.ts", | ||
"sideEffects": false, | ||
"gitHead": "2581162c8cc61d5a9d4b9a8e2f488e4f86c2d22b" | ||
"gitHead": "e8d923d4e5bd5553276b195acd5a9d794eb733c0" | ||
} |
@@ -71,2 +71,7 @@ import { IWatchService } from './watch-api' | ||
realpathSync(path: string): string | ||
/** | ||
* Rename (move) a file or a directory | ||
*/ | ||
renameSync(sourcePath: string, destinationPath: string): void | ||
} | ||
@@ -135,2 +140,7 @@ | ||
realpath(path: string): Promise<string> | ||
/** | ||
* Rename (move) a file or a directory | ||
*/ | ||
rename(sourcePath: string, destinationPath: string): Promise<void> | ||
} | ||
@@ -137,0 +147,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34738
795