Commit 176bc81c by 孙龙

up

parent 31bdf238
Showing with 4 additions and 0 deletions
......@@ -109,6 +109,10 @@ func CopyDir(srcPath string, destPath string) error {
destNewPath = destPath+copyFilename
//fmt.Println(destNewPath)
fmt.Println("复制文件:" + path + " 到 " + destNewPath)
if IsFileExist(destNewPath){
fmt.Printf("文件%s已存在\n",destNewPath)
return nil
}
_,_ = copyFile(path, destNewPath)
}
return nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment