SetCommitHash sets the "commit_hash" field.
(s string)
| 370 | |
| 371 | // SetCommitHash sets the "commit_hash" field. |
| 372 | func (gcuo *GitCommitUpdateOne) SetCommitHash(s string) *GitCommitUpdateOne { |
| 373 | gcuo.mutation.SetCommitHash(s) |
| 374 | return gcuo |
| 375 | } |
| 376 | |
| 377 | // SetNillableCommitHash sets the "commit_hash" field if the given value is not nil. |
| 378 | func (gcuo *GitCommitUpdateOne) SetNillableCommitHash(s *string) *GitCommitUpdateOne { |
no test coverage detected