(fileOp fileUtils.FileOp)
| 616 | } |
| 617 | |
| 618 | func loadUploadTree(fileOp fileUtils.FileOp) []dto.CleanTree { |
| 619 | var treeData []dto.CleanTree |
| 620 | treeData = loadTreeWithCheck(treeData, path.Join(global.Dir.BaseDir, uploadPath, "app"), "upload_app", fileOp) |
| 621 | treeData = loadTreeWithCheck(treeData, path.Join(global.Dir.BaseDir, uploadPath, "website"), "upload_website", fileOp) |
| 622 | treeData = loadTreeWithCheck(treeData, path.Join(global.Dir.BaseDir, uploadPath, "database"), "upload_database", fileOp) |
| 623 | |
| 624 | path5 := path.Join(global.Dir.BaseDir, uploadPath) |
| 625 | uploadTreeData := loadTreeWithAllFile(true, path5, "upload", path5, fileOp) |
| 626 | treeData = append(treeData, uploadTreeData...) |
| 627 | |
| 628 | return treeData |
| 629 | } |
| 630 | |
| 631 | func loadDownloadTree(fileOp fileUtils.FileOp) []dto.CleanTree { |
| 632 | var treeData []dto.CleanTree |
no test coverage detected