Skip to content

Commit

Permalink
Merge pull request #1990 from zawata/bump/libgit2-1.7.2
Browse files Browse the repository at this point in the history
Bump libgit2 to 1.7.2
  • Loading branch information
ianhattendorf committed Feb 14, 2024
2 parents ca65ba3 + 4027c95 commit bf56693
Show file tree
Hide file tree
Showing 10 changed files with 41,016 additions and 40,866 deletions.
2 changes: 1 addition & 1 deletion generate/input/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
Customize the generated code using this configuration file. Enter the function's signature, arguments and their metadata and which functions can be skipped in this file. If you are using a manual template, remove all of its references from this file.

#### libgit2-docs.json
These are provided by the libgit2 team. It includes all the metadata about the API provided by the libgit2 library. To grab the latest version of this file, download https://libgit2.github.com/libgit2/HEAD.json.
These are provided by the libgit2 team. It includes all the metadata about the API provided by the libgit2 library. To grab the latest version of this file, download https://libgit2.org/libgit2/HEAD.json.

#### libgit2-supplement.json
Use this confiuration file to group and override parts of the generated code. NodeGit tries its best to generate the right classes and structs, if it is not quite right, then use this config file to group/remove the functions.
Expand Down
34 changes: 30 additions & 4 deletions generate/input/descriptor.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@
"owner": "Object",
"removeString": "OBJ_"
},
"oid": {
"JsName": "TYPE",
"owner": "Oid"
},
"proxy": {
"JsName": "PROXY",
"isMask": false
Expand Down Expand Up @@ -158,6 +162,9 @@
"return": {
"isErrorCode": true
}
},
"git_apply_options_init": {
"ignore": true
}
}
},
Expand Down Expand Up @@ -2689,7 +2696,18 @@
},
"git_oid_fromstrp": {
"isAsync": false,
"jsFunctionName": "fromString"
"jsFunctionName": "fromString",
"args": {
"out": {
"isReturn": true
},
"str": {
"shouldAlloc": false
}
},
"return": {
"isErrorCode": true
}
},
"git_oid_nfmt": {
"ignore": true
Expand Down Expand Up @@ -3399,6 +3417,12 @@
"isErrorCode": true
}
},
"git_remote_connect_ext": {
"isAsync": true
},
"git_remote_connect_options_init": {
"ignore": true
},
"git_remote_disconnect": {
"isAsync": true,
"return": {
Expand Down Expand Up @@ -3596,6 +3620,11 @@
}
}
},
"remote_connect_options": {
"dependencies": [
"../include/str_array_converter.h"
]
},
"remote_callbacks": {
"fields": {
"completion": {
Expand Down Expand Up @@ -3687,9 +3716,6 @@
},
"isAsync": false
},
"git_repository_init_init_options": {
"ignore": true
},
"git_repository_init_options_init": {
"ignore": true
},
Expand Down
Loading

0 comments on commit bf56693

Please sign in to comment.