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

Method IsSilent

taskfile/ast/task.go:75–77  ·  view source on GitHub ↗

IsSilent returns true if the task has silent mode explicitly enabled. Returns false if Silent is nil (not set) or explicitly set to false.

()

Source from the content-addressed store, hash-verified

73// IsSilent returns true if the task has silent mode explicitly enabled.
74// Returns false if Silent is nil (not set) or explicitly set to false.
75func (t *Task) IsSilent() bool {
76 return t.Silent != nil && *t.Silent
77}
78
79// ShouldUseGitignore returns true if gitignore filtering is enabled for the task.
80// Returns false if UseGitignore is nil or set to false.

Callers 2

RunTaskMethod · 0.80
runCommandMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected