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)
| 103 | // resolveEditRef resolves a ref that could be a task, project, or playbook. |
| 104 | // Supports task/, project/, and playbook/ prefixes. Includes archived rows. |
| 105 | func resolveEditRef(db *sql.DB, ref string) (kind, slug string, err error) { |
| 106 | return ResolveTaskProjectOrPlaybook(db, ref, true) |
| 107 | } |
no test coverage detected