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

Method HasMetadata

pkg/cmd/pr/shared/state.go:55–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53}
54
55func (tb *IssueMetadataState) HasMetadata() bool {
56 return len(tb.Reviewers) > 0 ||
57 len(tb.Assignees) > 0 ||
58 len(tb.Labels) > 0 ||
59 len(tb.ProjectTitles) > 0 ||
60 len(tb.Milestones) > 0
61}
62
63func FillFromJSON(io *iostreams.IOStreams, recoverFile string, state *IssueMetadataState) error {
64 var data []byte

Callers 4

createRunFunction · 0.95
IsDirtyMethod · 0.95
AddMetadataToIssueParamsFunction · 0.80
createRunFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected