MCPcopy Create free account
hub / github.com/Facets-cloud/flow / resolveTaskRef

Function resolveTaskRef

internal/app/show.go:202–204  ·  view source on GitHub ↗

---------- resolution helpers ---------- resolveTaskRef resolves a ref to a task. Includes archived rows so `show task` can display them.

(db *sql.DB, query string)

Source from the content-addressed store, hash-verified

200// resolveTaskRef resolves a ref to a task. Includes archived rows so
201// `show task` can display them.
202func resolveTaskRef(db *sql.DB, query string) (*flowdb.Task, error) {
203 return ResolveTask(db, query, true)
204}
205
206// resolveProjectRef resolves a ref to a project. Includes archived rows.
207func resolveProjectRef(db *sql.DB, query string) (*flowdb.Project, error) {

Callers 2

showTaskCmdFunction · 0.85
cmdTranscriptFunction · 0.85

Calls 1

ResolveTaskFunction · 0.85

Tested by

no test coverage detected