(paths []string)
| 90 | } |
| 91 | |
| 92 | func cleanEmpty(paths []string) []string { |
| 93 | for index, value := range paths { |
| 94 | |
| 95 | if value == "" { |
| 96 | paths = append(paths[:index], paths[index+1:]...) |
| 97 | } |
| 98 | } |
| 99 | return paths |
| 100 | } |
| 101 | |
| 102 | func getNewPathsFromDir(path string, paths []string, fullPath bool, rootPath string) []string { |
| 103 | _, e := os.Stat(path) |
no outgoing calls
no test coverage detected