(fileOp fileUtils.FileOp)
| 607 | } |
| 608 | |
| 609 | func loadRollBackTree(fileOp fileUtils.FileOp) []dto.CleanTree { |
| 610 | var treeData []dto.CleanTree |
| 611 | treeData = loadTreeWithCheck(treeData, path.Join(global.Dir.BaseDir, rollbackPath, "app"), "rollback_app", fileOp) |
| 612 | treeData = loadTreeWithCheck(treeData, path.Join(global.Dir.BaseDir, rollbackPath, "website"), "rollback_website", fileOp) |
| 613 | treeData = loadTreeWithCheck(treeData, path.Join(global.Dir.BaseDir, rollbackPath, "database"), "rollback_database", fileOp) |
| 614 | |
| 615 | return treeData |
| 616 | } |
| 617 | |
| 618 | func loadUploadTree(fileOp fileUtils.FileOp) []dto.CleanTree { |
| 619 | var treeData []dto.CleanTree |
no test coverage detected