nsuite / uploadDirToQiniuOSS
Function: uploadDirToQiniuOSS()
uploadDirToQiniuOSS(
payload):Promise<ReturnQiniuOSSUploadDir>
Defined in: UtilsQiniuOSS.ts:862
Uploads files from a local directory to Qiniu OSS.
Parameters
payload
The upload settings, source directory, and optional callbacks.
Returns
Promise<ReturnQiniuOSSUploadDir>
Uploaded objects, skipped objects, refreshed URLs, and every resolved path.
Remarks
Set dryRun to inspect the resolved local and remote paths without uploading files. Set skipSameFile to compare each remote size and MD5 and report unchanged files in skippedList instead of uploading them; only uploaded files are refreshed.