MCPcopy Create free account
hub / github.com/cli/cli / Dirty

Method Dirty

pkg/cmd/pr/shared/editable.go:80–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78}
79
80func (e Editable) Dirty() bool {
81 return e.Title.Edited ||
82 e.Body.Edited ||
83 e.Base.Edited ||
84 e.Reviewers.Edited ||
85 e.Assignees.Edited ||
86 e.Labels.Edited ||
87 e.Projects.Edited ||
88 e.Milestone.Edited ||
89 e.IssueType.Edited
90}
91
92func (e Editable) TitleValue() *string {
93 if !e.Title.Edited {

Callers 4

NewCmdEditFunction · 0.80
editRunFunction · 0.80
NewCmdEditFunction · 0.80
editRunFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected