ShouldUseGitignore returns true if gitignore filtering is enabled for the task. Returns false if UseGitignore is nil or set to false.
()
| 79 | // ShouldUseGitignore returns true if gitignore filtering is enabled for the task. |
| 80 | // Returns false if UseGitignore is nil or set to false. |
| 81 | func (t *Task) ShouldUseGitignore() bool { |
| 82 | return t.UseGitignore != nil && *t.UseGitignore |
| 83 | } |
| 84 | |
| 85 | // WildcardMatch will check if the given string matches the name of the Task and returns any wildcard values. |
| 86 | func (t *Task) WildcardMatch(name string) (bool, []string) { |
no outgoing calls