UpdateDeployKey updates deploy key information.
(key *DeployKey)
| 731 | |
| 732 | // UpdateDeployKey updates deploy key information. |
| 733 | func UpdateDeployKey(key *DeployKey) error { |
| 734 | _, err := x.Id(key.ID).AllCols().Update(key) |
| 735 | return err |
| 736 | } |
| 737 | |
| 738 | // DeleteDeployKey deletes deploy key from its repository authorized_keys file if needed. |
| 739 | func DeleteDeployKey(doer *User, id int64) error { |
no test coverage detected