(ss []string, op func(string) bool)
| 1364 | } |
| 1365 | |
| 1366 | func filterStrings(ss []string, op func(string) bool) []string { |
| 1367 | n := ss[:0] |
| 1368 | for _, s := range ss { |
| 1369 | if op(s) { |
| 1370 | n = append(n, s) |
| 1371 | } |
| 1372 | } |
| 1373 | return n |
| 1374 | } |
| 1375 | |
| 1376 | func tagMessage(tag string) (string, error) { |
| 1377 | hash, err := runError("git", "rev-parse", tag) |
no outgoing calls
no test coverage detected