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

Function resolveEditRef

internal/app/edit.go:105–107  ·  view source on GitHub ↗

resolveEditRef resolves a ref that could be a task, project, or playbook. Supports task/, project/, and playbook/ prefixes. Includes archived rows.

(db *sql.DB, ref string)

Source from the content-addressed store, hash-verified

103// resolveEditRef resolves a ref that could be a task, project, or playbook.
104// Supports task/, project/, and playbook/ prefixes. Includes archived rows.
105func resolveEditRef(db *sql.DB, ref string) (kind, slug string, err error) {
106 return ResolveTaskProjectOrPlaybook(db, ref, true)
107}

Callers 1

cmdEditFunction · 0.85

Calls 1

Tested by

no test coverage detected