MCPcopy Index your code
hub / github.com/cli/cli / formatLinkedIssueListWithTitle

Function formatLinkedIssueListWithTitle

pkg/cmd/issue/view/view.go:368–370  ·  view source on GitHub ↗

formatLinkedIssueListWithTitle formats a comma-separated list of linked issue references with each title appended after the reference.

(issues []api.LinkedIssue)

Source from the content-addressed store, hash-verified

366// formatLinkedIssueListWithTitle formats a comma-separated list of linked
367// issue references with each title appended after the reference.
368func formatLinkedIssueListWithTitle(issues []api.LinkedIssue) string {
369 return joinLinkedIssues(issues, true)
370}
371
372func joinLinkedIssues(issues []api.LinkedIssue, withTitle bool) string {
373 if len(issues) == 0 {

Callers 1

printHumanIssuePreviewFunction · 0.85

Calls 1

joinLinkedIssuesFunction · 0.85

Tested by

no test coverage detected