@file-services/types
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -31,2 +31,10 @@ import { IBaseFileSystemAsync, IBaseFileSystemSync, IFileSystemStats } from './base-api'; | ||
ensureDirectorySync(directoryPath: string): void; | ||
/** | ||
* Search for a specific file name in parent chain. | ||
* Useful for finding configuration files. | ||
*/ | ||
/** | ||
* Populates the provided directory with given contents. | ||
*/ | ||
populateDirectorySync(directoryPath: string, contents: IDirectoryContents): void; | ||
} | ||
@@ -56,2 +64,10 @@ /** | ||
ensureDirectory(directoryPath: string): Promise<void>; | ||
/** | ||
* Search for a specific file name in parent chain. | ||
* Useful for finding configuration files. | ||
*/ | ||
/** | ||
* Populates the provided directory with given contents. | ||
*/ | ||
populateDirectory(directoryPath: string, contents: IDirectoryContents): Promise<void>; | ||
} | ||
@@ -58,0 +74,0 @@ /** |
{ | ||
"name": "@file-services/types", | ||
"description": "Common file system interfaces", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"main": "cjs/index.js", | ||
@@ -23,3 +23,3 @@ "types": "cjs/index.d.ts", | ||
}, | ||
"gitHead": "5fe82335a0d97b095d5e522866abb96d160d7ab3" | ||
"gitHead": "e4a29c8bf0de8d773f0e6e1646d028063cc62952" | ||
} |
@@ -44,3 +44,3 @@ import { IBaseFileSystemAsync, IBaseFileSystemSync, IFileSystemStats } from './base-api' | ||
*/ | ||
// populateDirectorySync(directoryPath: string, contents: IDirectoryContents): void | ||
populateDirectorySync(directoryPath: string, contents: IDirectoryContents): void | ||
@@ -93,3 +93,3 @@ /** | ||
*/ | ||
// populateDirectory(directoryPath: string, contents: IDirectoryContents): Promise<void> | ||
populateDirectory(directoryPath: string, contents: IDirectoryContents): Promise<void> | ||
@@ -96,0 +96,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
30453
716