MCPcopy
hub / github.com/github/git-sizer / NewThresholdFlagValue

Function NewThresholdFlagValue

sizes/output.go:294–296  ·  view source on GitHub ↗
(threshold *Threshold, value Threshold)

Source from the content-addressed store, hash-verified

292}
293
294func NewThresholdFlagValue(threshold *Threshold, value Threshold) pflag.Value {
295 return &thresholdFlagValue{false, threshold, value}
296}
297
298func (v *thresholdFlagValue) String() string {
299 return strconv.FormatBool(v.b)

Callers 1

mainImplementationFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected