(path string, excludePaths []string)
| 594 | } |
| 595 | |
| 596 | func isExactPathMatch(path string, excludePaths []string) bool { |
| 597 | cleanPath := filepath.Clean(path) |
| 598 | |
| 599 | for _, excludePath := range excludePaths { |
| 600 | cleanExclude := filepath.Clean(excludePath) |
| 601 | if cleanPath == cleanExclude { |
| 602 | return true |
| 603 | } |
| 604 | } |
| 605 | |
| 606 | return false |
| 607 | } |
| 608 | |
| 609 | func loadRollBackTree(fileOp fileUtils.FileOp) []dto.CleanTree { |
| 610 | var treeData []dto.CleanTree |
no test coverage detected