@file-services/types
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -71,3 +71,7 @@ import { IDirectoryContents, IWalkOptions, BufferEncoding } from './common-fs-types'; | ||
} | null): Promise<unknown>; | ||
/** | ||
* Recursively copy a directory and its contents. | ||
*/ | ||
copyDirectory(sourcePath: string, destinationPath: string): Promise<void>; | ||
} | ||
//# sourceMappingURL=extended-api-async.d.ts.map |
@@ -68,3 +68,7 @@ import { IWalkOptions, IDirectoryContents, BufferEncoding } from './common-fs-types'; | ||
} | null): unknown; | ||
/** | ||
* Recursively copy a directory and its contents. | ||
*/ | ||
copyDirectorySync(sourcePath: string, destinationPath: string): void; | ||
} | ||
//# sourceMappingURL=extended-api-sync.d.ts.map |
{ | ||
"name": "@file-services/types", | ||
"description": "Common file system interfaces", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"main": "cjs/index.js", | ||
@@ -14,4 +14,3 @@ "types": "cjs/index.d.ts", | ||
"cjs", | ||
"src", | ||
"!src/tsconfig.json" | ||
"src" | ||
], | ||
@@ -25,3 +24,3 @@ "license": "MIT", | ||
"sideEffects": false, | ||
"gitHead": "fc4bf2d1f67151dfd6357fcda60bc0c43f6a10d6" | ||
"gitHead": "d0f4daec4165377749c39bb159c24b6e0808fae4" | ||
} |
@@ -5,3 +5,2 @@ export type BufferEncoding = 'ascii' | 'utf8' | 'utf16le' | 'ucs2' | 'base64' | 'latin1' | 'binary' | 'hex'; | ||
declare global { | ||
// tslint:disable-next-line | ||
interface Buffer { | ||
@@ -8,0 +7,0 @@ toString(ecoding?: BufferEncoding): string; |
@@ -81,2 +81,7 @@ import { IDirectoryContents, IWalkOptions, BufferEncoding } from './common-fs-types'; | ||
/** | ||
* Recursively copy a directory and its contents. | ||
*/ | ||
copyDirectory(sourcePath: string, destinationPath: string): Promise<void>; | ||
/** | ||
* Recursively walk over a directory and its contents. | ||
@@ -83,0 +88,0 @@ */ |
@@ -77,2 +77,7 @@ import { IWalkOptions, IDirectoryContents, BufferEncoding } from './common-fs-types'; | ||
/** | ||
* Recursively copy a directory and its contents. | ||
*/ | ||
copyDirectorySync(sourcePath: string, destinationPath: string): void; | ||
/** | ||
* Recursively walk over a directory and its contents. | ||
@@ -79,0 +84,0 @@ */ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
67167
1397