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

Method SetExternalIDs

sdk/go/validator/validator.go:106–108  ·  view source on GitHub ↗

SetExternalIDs sets task IDs that are known to exist externally (e.g. in archive). These IDs satisfy dependency and parent checks but are not validated themselves.

(ids map[string]bool)

Source from the content-addressed store, hash-verified

104// SetExternalIDs sets task IDs that are known to exist externally (e.g. in archive).
105// These IDs satisfy dependency and parent checks but are not validated themselves.
106func (v *Validator) SetExternalIDs(ids map[string]bool) {
107 v.externalIDs = ids
108}
109
110// Validate performs all validation checks on a set of tasks
111func (v *Validator) Validate(tasks []*model.Task) *ValidationResult {

Calls

no outgoing calls