v0.25.0-alpha.3
版本发布时间: 2019-02-13 03:08:46
nodegit/nodegit最新发布版本:v0.27.0(2020-07-29 04:19:19)
Summary of changes
- Enforced consistent use of signing callbacks within the application. Any object that implements the signingCallback
pattern for signing commits or tags should use the exact same callback type and with the same meaning.
type SigningCallback = (content: string) => {| code: number, field?: string, signedData?: string |};
If the code isNodeGit.Error.CODE.OK
or 0, the operation will succeed and at least signedData is expected to be filled out. If the code is a negative number, except forNodeGit.Error.CODE.PASSTHROUGH
, the signing operation will fail. If the code isNodeGit.Error.CODE.PASSTHROUGH
, the operation will continue without signing the object.