@zwa73/utils 1.0.120 → 1.0.121
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/UtilFileTools.d.ts +1 -3
- package/dist/UtilFileTools.js +1 -3
- package/package.json +1 -1
- package/src/UtilFileTools.ts +1 -3
package/dist/UtilFileTools.d.ts
CHANGED
|
@@ -123,7 +123,6 @@ export declare namespace UtilFT {
|
|
|
123
123
|
* @param traitRegex - 正则表达式
|
|
124
124
|
* @param opt - 可选参数
|
|
125
125
|
* @param opt.relative - 搜索子目录
|
|
126
|
-
* @param opt.style - 输出的路径风格 默认跟随系统
|
|
127
126
|
* @returns 文件名路径数组
|
|
128
127
|
*/
|
|
129
128
|
function fileSearchRegex(dir: string, traitRegex: string, opt?: FileSearchRegexOpt): string[];
|
|
@@ -131,8 +130,7 @@ export declare namespace UtilFT {
|
|
|
131
130
|
* @param dir - 起始目录
|
|
132
131
|
* @param globPattern - glob匹配
|
|
133
132
|
* @param opt - 可选参数
|
|
134
|
-
* @param opt.ignore
|
|
135
|
-
* @param opt.style - 输出的路径风格 默认跟随系统
|
|
133
|
+
* @param opt.ignore - 忽略的文件
|
|
136
134
|
* @returns 文件绝对路径数组
|
|
137
135
|
*/
|
|
138
136
|
function fileSearchGlob(dir: string, globPattern: string | string[], opt?: FileSearchGlobOpt): string[];
|
package/dist/UtilFileTools.js
CHANGED
|
@@ -243,7 +243,6 @@ var UtilFT;
|
|
|
243
243
|
* @param traitRegex - 正则表达式
|
|
244
244
|
* @param opt - 可选参数
|
|
245
245
|
* @param opt.relative - 搜索子目录
|
|
246
|
-
* @param opt.style - 输出的路径风格 默认跟随系统
|
|
247
246
|
* @returns 文件名路径数组
|
|
248
247
|
*/
|
|
249
248
|
function fileSearchRegex(dir, traitRegex, opt) {
|
|
@@ -270,8 +269,7 @@ var UtilFT;
|
|
|
270
269
|
* @param dir - 起始目录
|
|
271
270
|
* @param globPattern - glob匹配
|
|
272
271
|
* @param opt - 可选参数
|
|
273
|
-
* @param opt.ignore
|
|
274
|
-
* @param opt.style - 输出的路径风格 默认跟随系统
|
|
272
|
+
* @param opt.ignore - 忽略的文件
|
|
275
273
|
* @returns 文件绝对路径数组
|
|
276
274
|
*/
|
|
277
275
|
function fileSearchGlob(dir, globPattern, opt) {
|
package/package.json
CHANGED
package/src/UtilFileTools.ts
CHANGED
|
@@ -274,7 +274,6 @@ export function currosizePath(filePath: string): string {
|
|
|
274
274
|
* @param traitRegex - 正则表达式
|
|
275
275
|
* @param opt - 可选参数
|
|
276
276
|
* @param opt.relative - 搜索子目录
|
|
277
|
-
* @param opt.style - 输出的路径风格 默认跟随系统
|
|
278
277
|
* @returns 文件名路径数组
|
|
279
278
|
*/
|
|
280
279
|
export function fileSearchRegex(dir: string, traitRegex: string, opt?:FileSearchRegexOpt) {
|
|
@@ -299,8 +298,7 @@ export function fileSearchRegex(dir: string, traitRegex: string, opt?:FileSearch
|
|
|
299
298
|
* @param dir - 起始目录
|
|
300
299
|
* @param globPattern - glob匹配
|
|
301
300
|
* @param opt - 可选参数
|
|
302
|
-
* @param opt.ignore
|
|
303
|
-
* @param opt.style - 输出的路径风格 默认跟随系统
|
|
301
|
+
* @param opt.ignore - 忽略的文件
|
|
304
302
|
* @returns 文件绝对路径数组
|
|
305
303
|
*/
|
|
306
304
|
export function fileSearchGlob(dir: string, globPattern:string|string[],opt?:FileSearchGlobOpt){
|