Title: Repository's createBranch(*) function has incorrect documentation · Issue #1182 · nodegit/nodegit · GitHub
Open Graph Title: Repository's createBranch(*) function has incorrect documentation · Issue #1182 · nodegit/nodegit
X Title: Repository's createBranch(*) function has incorrect documentation · Issue #1182 · nodegit/nodegit
Description: From the online documentation, you can see that the createBranch(*) function takes five parameters. However, if you look at the actual code, you will see that there are only three parameters.
Open Graph Description: From the online documentation, you can see that the createBranch(*) function takes five parameters. However, if you look at the actual code, you will see that there are only three parameters.
X Description: From the online documentation, you can see that the createBranch(*) function takes five parameters. However, if you look at the actual code, you will see that there are only three parameters.
Opengraph URL: https://github.com/nodegit/nodegit/issues/1182
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Repository's createBranch(*) function has incorrect documentation","articleBody":"From the [online documentation](http://www.nodegit.org/api/repository/#createBranch), you can see that the `createBranch(*)` function takes five parameters.\r\n\r\nHowever, if you look at the [actual code](https://github.com/nodegit/nodegit/blob/cd5c051320f1dc8d4fb97d139371fad8f1819c20/lib/repository.js#L387-L398), you will see that there are only three parameters.","author":{"url":"https://github.com/rcjsuen","@type":"Person","name":"rcjsuen"},"datePublished":"2017-01-06T07:52:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1182/nodegit/issues/1182"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:99bfdcd4-dc8b-bcc3-7e7e-71784293cec0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B74E:230951:BAC945:F76393:6A5C2775 |
| html-safe-nonce | 5232b85cd040b4b33810ef81ddda771f282a8daac6b11dbe93e86d3099b48668 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzRFOjIzMDk1MTpCQUM5NDU6Rjc2MzkzOjZBNUMyNzc1IiwidmlzaXRvcl9pZCI6Ijk3MDU4Mzc1OTM3NTgzNzA0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 35e43b82e76c14f3cb2e4bd301af439bb8a1756539db8df9a0c375a3f94d5e77 |
| hovercard-subject-tag | issue:199143261 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodegit/nodegit/1182/issue_layout |
| twitter:image | https://opengraph.githubassets.com/83a4ec1e89b399f039d58d86913be1b341ed706f3dd70484800b9a90cf1b3da3/nodegit/nodegit/issues/1182 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/83a4ec1e89b399f039d58d86913be1b341ed706f3dd70484800b9a90cf1b3da3/nodegit/nodegit/issues/1182 |
| og:image:alt | From the online documentation, you can see that the createBranch(*) function takes five parameters. However, if you look at the actual code, you will see that there are only three parameters. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rcjsuen |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/nodegit/nodegit git https://github.com/nodegit/nodegit.git |
| octolytics-dimension-user_id | 657068 |
| octolytics-dimension-user_login | nodegit |
| octolytics-dimension-repository_id | 1383170 |
| octolytics-dimension-repository_nwo | nodegit/nodegit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1383170 |
| octolytics-dimension-repository_network_root_nwo | nodegit/nodegit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width