mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 07:07:25 +08:00
Update filer_copy.go
修改 weed filer.copy 上传目录时文件名变子目录的问题
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user