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

Method Changed

internal/attachments/flags.go:38–40  ·  view source on GitHub ↗

Changed reports whether the attachment flag was passed.

()

Source from the content-addressed store, hash-verified

36
37// Changed reports whether the attachment flag was passed.
38func (f *Flag) Changed() bool {
39 return f.flag.Changed
40}
41
42// Count returns the number of supplied attachment values before validation.
43// Absent flags count as zero; empty paths and values over the limit still count.

Callers 15

UserAssetsMethod · 0.95
NewCmdViewFunction · 0.80
NewCmdCommentFunction · 0.80
NewCmdCreateFunction · 0.80
NewCmdEditFunction · 0.80
NewCmdCreateFunction · 0.80
NewCmdLoginFunction · 0.80
NewCmdEditItemFunction · 0.80
NewCmdCommitsFunction · 0.80
NewCmdPrsFunction · 0.80
NewCmdIssuesFunction · 0.80
NewCmdReposFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestAddFlagFunction · 0.64