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

Method GetGitSSHKey

coderd/database/dbauthz/dbauthz.go:3484–3486  ·  view source on GitHub ↗
(ctx context.Context, userID uuid.UUID)

Source from the content-addressed store, hash-verified

3482}
3483
3484func (q *querier) GetGitSSHKey(ctx context.Context, userID uuid.UUID) (database.GitSSHKey, error) {
3485 return fetchWithAction(q.log, q.auth, policy.ActionReadPersonal, q.db.GetGitSSHKey)(ctx, userID)
3486}
3487
3488func (q *querier) GetGroupAIBudget(ctx context.Context, groupID uuid.UUID) (database.GroupAiBudget, error) {
3489 // Reading a group's AI budget requires read on the parent group.

Callers

nothing calls this directly

Calls 1

fetchWithActionFunction · 0.85

Tested by

no test coverage detected