WithSignature creates a new signed commit from the given signature and signature field
(signature string, signatureField string)
| 93 | |
| 94 | // WithSignature creates a new signed commit from the given signature and signature field |
| 95 | func (c *Commit) WithSignature(signature string, signatureField string) (*Oid, error) { |
| 96 | return c.Owner().CreateCommitWithSignature( |
| 97 | c.ContentToSign(), |
| 98 | signature, |
| 99 | signatureField, |
| 100 | ) |
| 101 | } |
| 102 | |
| 103 | func (c *Commit) ExtractSignature() (string, string, error) { |
| 104 |