(paths []string)
| 313 | var _ Notify = &naiveNotify{} |
| 314 | |
| 315 | func greatestExistingAncestors(paths []string) ([]string, error) { |
| 316 | result := []string{} |
| 317 | for _, p := range paths { |
| 318 | newP, err := greatestExistingAncestor(p) |
| 319 | if err != nil { |
| 320 | return nil, fmt.Errorf("finding ancestor of %s: %w", p, err) |
| 321 | } |
| 322 | result = append(result, newP) |
| 323 | } |
| 324 | return result, nil |
| 325 | } |
no test coverage detected