MCPcopy Index your code
hub / github.com/coder/coder / GetTaskByID

Method GetTaskByID

coderd/database/dbauthz/dbauthz.go:4215–4217  ·  view source on GitHub ↗
(ctx context.Context, id uuid.UUID)

Source from the content-addressed store, hash-verified

4213}
4214
4215func (q *querier) GetTaskByID(ctx context.Context, id uuid.UUID) (database.Task, error) {
4216 return fetch(q.log, q.auth, q.db.GetTaskByID)(ctx, id)
4217}
4218
4219func (q *querier) GetTaskByOwnerIDAndName(ctx context.Context, arg database.GetTaskByOwnerIDAndNameParams) (database.Task, error) {
4220 return fetch(q.log, q.auth, q.db.GetTaskByOwnerIDAndName)(ctx, arg)

Callers 2

GetTaskSnapshotMethod · 0.95
UpsertTaskSnapshotMethod · 0.95

Calls 1

fetchFunction · 0.70

Tested by

no test coverage detected