add removeMany and removeManySync

This commit is contained in:
2016-09-29 14:17:46 +02:00
parent 1fdd492eff
commit 2c52dec8ea
5 changed files with 92 additions and 9 deletions

View File

@ -56,11 +56,19 @@ export declare let ensureFileSync: (filePathArg: string, initFileStringArg: stri
/**
* removes a file or folder from local disk
*/
export declare let remove: (pathArg: string) => plugins.q.Promise<{}>;
export declare let remove: (pathArg: string) => plugins.q.Promise<void>;
/**
* removes a file SYNCHRONOUSLY from local disk
*/
export declare let removeSync: (pathArg: string) => boolean;
/**
* removes an array of filePaths from disk
*/
export declare let removeMany: (filePathArrayArg: string[]) => plugins.q.Promise<void[]>;
/**
* like removeFilePathArray but SYNCHRONOUSLY
*/
export declare let removeManySync: (filePathArrayArg: string[]) => boolean;
/**
*
* @param filePathArg

21
dist/smartfile.fs.js vendored

File diff suppressed because one or more lines are too long