Merge pull request #1 from alloneinfo/mymod

Update filer_copy.go
This commit is contained in:
Kenny 2020-10-30 18:17:15 +08:00 committed by GitHub
commit 8a7f5eba99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -219,7 +219,7 @@ func genFileCopyTask(fileOrDir string, destPath string, fileCopyTaskChan chan Fi
fileCopyTaskChan <- FileCopyTask{ fileCopyTaskChan <- FileCopyTask{
sourceLocation: fileOrDir, sourceLocation: fileOrDir,
destinationUrlPath: destPath+fi.Name(), destinationUrlPath: destPath,//+fi.Name(),
fileSize: fi.Size(), fileSize: fi.Size(),
fileMode: fi.Mode(), fileMode: fi.Mode(),
uid: uid, uid: uid,