(path string)
| 460 | } |
| 461 | |
| 462 | func pathExists(path string) bool { |
| 463 | _, err := os.Stat(path) |
| 464 | if err == nil { |
| 465 | return true |
| 466 | } |
| 467 | return !os.IsNotExist(err) |
| 468 | } |
| 469 | |
| 470 | var commitHashPattern = regexp.MustCompile(`^[a-fA-F0-9]{7,40}$`) |
| 471 |
no outgoing calls
no test coverage detected