(ctx context.Context, uuid string)
| 160 | return ho, nil |
| 161 | } |
| 162 | func (h *Store[H]) Get(ctx context.Context, uuid string) (*Commit[H], error) { |
| 163 | var commit = new(Commit[H]) |
| 164 | err := h.db.DB(ctx).Table(h.commitTableName).Where("`uuid` = ?", uuid).First(commit).Error |
| 165 | if err != nil { |
| 166 | return nil, err |
| 167 | } |
| 168 | return commit, nil |
| 169 | } |
nothing calls this directly
no outgoing calls
no test coverage detected