(repoName string, itemName string, hasFilters bool)
| 64 | } |
| 65 | |
| 66 | func ListNoResults(repoName string, itemName string, hasFilters bool) error { |
| 67 | if hasFilters { |
| 68 | return cmdutil.NewNoResultsError(fmt.Sprintf("no %ss match your search in %s", itemName, repoName)) |
| 69 | } |
| 70 | return cmdutil.NewNoResultsError(fmt.Sprintf("no open %ss in %s", itemName, repoName)) |
| 71 | } |
| 72 | |
| 73 | func ListHeader(repoName string, itemName string, matchCount int, totalMatchCount int, hasFilters bool) string { |
| 74 | if hasFilters { |
no test coverage detected