MCPcopy
hub / github.com/go-task/task / IsSet

Method IsSet

taskfile/ast/output.go:18–20  ·  view source on GitHub ↗

IsSet returns true if and only if a custom output style is set.

()

Source from the content-addressed store, hash-verified

16
17// IsSet returns true if and only if a custom output style is set.
18func (s *Output) IsSet() bool {
19 return s.Name != ""
20}
21
22func (s *Output) UnmarshalYAML(node *yaml.Node) error {
23 switch node.Kind {

Callers 3

setupOutputMethod · 0.45
checkOutputGroupUnsetFunction · 0.45
MergeMethod · 0.45

Implementers 3

Groupinternal/output/group.go
Interleavedinternal/output/interleaved.go
Prefixedinternal/output/prefixed.go

Calls

no outgoing calls

Tested by

no test coverage detected