(entries []changedEntry)
| 497 | } |
| 498 | |
| 499 | func entryPaths(entries []changedEntry) []string { |
| 500 | if len(entries) == 0 { |
| 501 | return []string{} |
| 502 | } |
| 503 | paths := make([]string, 0, len(entries)) |
| 504 | for _, entry := range entries { |
| 505 | paths = append(paths, entry.Path) |
| 506 | } |
| 507 | return paths |
| 508 | } |
| 509 | |
| 510 | func stubPaths(stubs []FileStub) []string { |
| 511 | if len(stubs) == 0 { |