MCPcopy Create free account
hub / github.com/driangle/taskmd / IsValid

Method IsValid

sdk/go/model/task.go:174–176  ·  view source on GitHub ↗

IsValid checks if the task has required fields

()

Source from the content-addressed store, hash-verified

172
173// IsValid checks if the task has required fields
174func (t *Task) IsValid() bool {
175 return t.ID != "" && t.Title != ""
176}
177
178// GetGroup returns the group, prioritizing frontmatter over derived value
179func (t *Task) GetGroup() string {

Callers 4

ParseTaskContentFunction · 0.95
runValidateFunction · 0.45
buildValidateOutputFunction · 0.45
TestTask_IsValidFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestTask_IsValidFunction · 0.36