-
Notifications
You must be signed in to change notification settings - Fork 0
ICopyOptions
Steve edited this page Apr 29, 2020
·
1 revision
interface ICopyOptions extends IHTTPOptions
export interface ICopyOptions extends IHTTPOptions {
overwrite?: boolean,
fnRename?: (entry: IListEntry, subPath:string, tries:number) => string,
autoRename?: boolean,
autoRenameRetries?: number
}
- overwrite: overwrite existing files
- fnRename: optional function to rename entries e.g. if the file exists in target path e.g. by adding "copy" + tries to the file name
- autoRename: rename files if they already exist in target path
- autoRenameRetries: maximum number of tries to rename existing entries
Documentation
-
Interfaces