(names []string, pwd string)
| 577 | } |
| 578 | |
| 579 | func findFiles(names []string, pwd string) []string { |
| 580 | candidates := []string{} |
| 581 | for _, n := range names { |
| 582 | f := filepath.Join(pwd, n) |
| 583 | if _, err := os.Stat(f); err == nil { |
| 584 | candidates = append(candidates, f) |
| 585 | } |
| 586 | } |
| 587 | return candidates |
| 588 | } |
| 589 | |
| 590 | func absolutePaths(p []string) ([]string, error) { |
| 591 | var paths []string |
no outgoing calls
no test coverage detected
searching dependent graphs…