Comparing version 1.1.1 to 1.1.2
@@ -41,7 +41,7 @@ /** | ||
*/ | ||
export function eachFile(dir: string, findOne: FindOneCallback, callback: Callback1); | ||
export function eachFile(dir: string, findOne: FindOneCallback, callback: Callback1): void; | ||
/** | ||
* 遍历目录下的所有文件 | ||
*/ | ||
export function eachFile(dir: string, thread_num: number, findOne: FindOneCallback, callback: Callback1); | ||
export function eachFile(dir: string, thread_num: number, findOne: FindOneCallback, callback: Callback1): void; | ||
@@ -60,7 +60,7 @@ /** | ||
*/ | ||
export function eachDir(dir: string, findOne: FindOneCallback, callback: Callback1); | ||
export function eachDir(dir: string, findOne: FindOneCallback, callback: Callback1): void; | ||
/** | ||
* 遍历目录下的所有目录 | ||
*/ | ||
export function eachDir(dir: string, thread_num: number, findOne: FindOneCallback, callback: Callback1); | ||
export function eachDir(dir: string, thread_num: number, findOne: FindOneCallback, callback: Callback1): void; | ||
@@ -79,7 +79,7 @@ /** | ||
*/ | ||
export function eachFilter(dir: string, pattern: FindFilter, callback: Callback1); | ||
export function eachFilter(dir: string, pattern: FindFilter, callback: Callback1): void; | ||
/** | ||
* 仅列出目录下指定规则的所有文件和目录 | ||
*/ | ||
export function eachFilter(dir: string, pattern: FindFilter, thread_num: number, callback: Callback1); | ||
export function eachFilter(dir: string, pattern: FindFilter, thread_num: number, callback: Callback1): void; | ||
@@ -89,7 +89,7 @@ /** | ||
*/ | ||
export function eachFilterSync(dir: string, pattern: FindFilter); | ||
export function eachFilterSync(dir: string, pattern: FindFilter): void; | ||
/** | ||
* 仅列出目录下指定规则的所有文件和目录 | ||
*/ | ||
export function eachFilterSync(dir: string, pattern: FindFilter, thread_num: number); | ||
export function eachFilterSync(dir: string, pattern: FindFilter, thread_num: number): void; | ||
@@ -99,7 +99,7 @@ /** | ||
*/ | ||
export function eachFileFilter(dir: string, pattern: FindFilter, callback: Callback1); | ||
export function eachFileFilter(dir: string, pattern: FindFilter, callback: Callback1): void; | ||
/** | ||
* 仅列出目录下指定规则的所有文件 | ||
*/ | ||
export function eachFileFilter(dir: string, pattern: FindFilter, thread_num: number, callback: Callback1); | ||
export function eachFileFilter(dir: string, pattern: FindFilter, thread_num: number, callback: Callback1): void; | ||
@@ -109,7 +109,7 @@ /** | ||
*/ | ||
export function eachFileFilterSync(dir: string, pattern: FindFilter); | ||
export function eachFileFilterSync(dir: string, pattern: FindFilter): void; | ||
/** | ||
* 仅列出目录下指定规则的所有文件 | ||
*/ | ||
export function eachFileFilterSync(dir: string, pattern: FindFilter, thread_num: number); | ||
export function eachFileFilterSync(dir: string, pattern: FindFilter, thread_num: number): void; | ||
@@ -120,7 +120,7 @@ | ||
*/ | ||
export function eachDirFilter(dir: string, pattern: FindFilter, callback: Callback1); | ||
export function eachDirFilter(dir: string, pattern: FindFilter, callback: Callback1): void; | ||
/** | ||
* 仅列出目录下指定规则的所有目录 | ||
*/ | ||
export function eachDirFilter(dir: string, pattern: FindFilter, thread_num: number, callback: Callback1); | ||
export function eachDirFilter(dir: string, pattern: FindFilter, thread_num: number, callback: Callback1): void; | ||
@@ -130,7 +130,7 @@ /** | ||
*/ | ||
export function eachDirFilterSync(dir: string, pattern: FindFilter); | ||
export function eachDirFilterSync(dir: string, pattern: FindFilter): void; | ||
/** | ||
* 仅列出目录下指定规则的所有目录 | ||
*/ | ||
export function eachDirFilterSync(dir: string, pattern: FindFilter, thread_num: number); | ||
export function eachDirFilterSync(dir: string, pattern: FindFilter, thread_num: number): void; | ||
@@ -137,0 +137,0 @@ |
{ | ||
"name": "rd", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Read all directory recursively 列出(遍历)目录下的所有文件,包括子目录", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
29836