mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-30 18:43:21 +08:00
nodegit: added test code for Signature
This commit is contained in:
@@ -51,3 +51,8 @@ const blameOptions = new Git.BlameOptions();
|
||||
Git.Branch.lookup(repo, "branch_name", Git.Branch.BRANCH.LOCAL).then((reference) => {
|
||||
// Use reference
|
||||
});
|
||||
|
||||
const signature = Git.Signature.now("name", "email");
|
||||
signature.name();
|
||||
signature.email();
|
||||
signature.when();
|
||||
|
||||
Reference in New Issue
Block a user