Skip to content

Commit

Permalink
Bump Libgit2 to fork of v1.0.0
Browse files Browse the repository at this point in the history
Fix gyp
  • Loading branch information
implausible committed Aug 13, 2020
1 parent 0327c08 commit 58de0a7
Show file tree
Hide file tree
Showing 14 changed files with 1,117 additions and 1,027 deletions.
6 changes: 3 additions & 3 deletions generate/input/callbacks.json
Expand Up @@ -180,11 +180,11 @@
"error": -1
}
},
"git_cred_acquire_cb": {
"git_credential_acquire_cb": {
"args": [
{
"name": "cred",
"cType": "git_cred **",
"name": "credential",
"cType": "git_credential **",
"isReturn": true
},
{
Expand Down
84 changes: 61 additions & 23 deletions generate/input/descriptor.json
Expand Up @@ -33,6 +33,10 @@
}
}
},
"credential": {
"JsName": "TYPE",
"owner": "Credential"
},
"describe_strategy": {
"ignore": true
},
Expand Down Expand Up @@ -132,6 +136,11 @@
},
"attr": {
"functions": {
"git_attr_cache_flush": {
"return": {
"isErrorCode": true
}
},
"git_attr_foreach": {
"ignore": true
},
Expand Down Expand Up @@ -1066,61 +1075,61 @@
}
}
},
"cred": {
"credential": {
"needsForwardDeclaration": false,
"selfFreeing": true,
"cType": "git_cred",
"cType": "git_credential",
"fields": {
"free": {
"ignore": true
}
},
"functions": {
"git_cred_default_new": {
"git_credential_default_new": {
"isAsync": false
},
"git_cred_free": {
"git_credential_free": {
"ignore": true
},
"git_cred_ssh_custom_new": {
"git_credential_ssh_custom_new": {
"ignore": true
},
"git_cred_ssh_interactive_new": {
"git_credential_ssh_interactive_new": {
"ignore": true
},
"git_cred_ssh_key_from_agent": {
"git_credential_ssh_key_from_agent": {
"isAsync": false
},
"git_cred_ssh_key_new": {
"git_credential_ssh_key_new": {
"isAsync": false
},
"git_cred_userpass": {
"git_credential_userpass": {
"ignore": true
},
"git_cred_userpass_plaintext_new": {
"git_credential_userpass_plaintext_new": {
"isAsync": false
}
}
},
"cred_default": {
"credential_default": {
"ignore": true
},
"cred_ssh_custom": {
"credential_ssh_custom": {
"ignore": true
},
"cred_ssh_interactive": {
"credential_ssh_interactive": {
"ignore": true
},
"cred_ssh_key": {
"credential_ssh_key": {
"ignore": true
},
"cred_username": {
"credential_username": {
"ignore": true
},
"cred_userpass_payload": {
"credential_userpass_payload": {
"ignore": true
},
"cred_userpass_plaintext": {
"credential_userpass_plaintext": {
"ignore": true
},
"describe": {
Expand Down Expand Up @@ -1996,7 +2005,10 @@
"git_index_name_clear": {
"cppFunctionName": "Clear",
"jsFunctionName": "clear",
"isAsync": true
"isAsync": true,
"return": {
"isErrorCode": true
}
},
"git_index_name_entrycount": {
"cppFunctionName": "Entrycount",
Expand Down Expand Up @@ -2031,7 +2043,10 @@
"cppFunctionName": "Clear",
"jsFunctionName": "clear",
"isAsync": true,
"isPrototypeMethod": false
"isPrototypeMethod": false,
"return": {
"isErrorCode": true
}
},
"git_index_reuc_entrycount": {
"cppFunctionName": "Entrycount",
Expand Down Expand Up @@ -2571,10 +2586,17 @@
"shouldAlloc": true,
"functions": {
"git_oid_cpy": {
"isAsync": false,
"args": {
"src": {
"shouldAlloc": false
},
"out": {
"isReturn": true
}
},
"return": {
"isErrorCode": true
}
},
"git_oid_fmt": {
Expand Down Expand Up @@ -2707,8 +2729,10 @@
},
"git_patch_from_diff": {
"isAsync": true,
"return": {
"ownedBy": ["diff"]
"args": {
"out": {
"ownedBy": ["diff"]
}
}
},
"git_patch_get_delta": {
Expand Down Expand Up @@ -3203,7 +3227,10 @@
}
},
"git_remote_disconnect": {
"isAsync": true
"isAsync": true,
"return": {
"isErrorCode": true
}
},
"git_remote_download": {
"args": {
Expand Down Expand Up @@ -3408,7 +3435,10 @@
],
"functions": {
"git_repository__cleanup": {
"isAsync": true
"isAsync": true,
"return": {
"isErrorCode": true
}
},
"git_repository_config": {
"args": {
Expand Down Expand Up @@ -3525,6 +3555,9 @@
"index": {
"isOptional": true
}
},
"return": {
"isErrorCode": true
}
},
"git_repository_set_odb": {
Expand Down Expand Up @@ -4321,6 +4354,11 @@
"treebuilder": {
"selfFreeing": true,
"functions": {
"git_treebuilder_clear": {
"return": {
"isErrorCode": true
}
},
"git_treebuilder_filter": {
"ignore": true
},
Expand Down

0 comments on commit 58de0a7

Please sign in to comment.