Title: Confusion between classes and structs regarding fields · Issue #307 · nodegit/nodegit · GitHub
Open Graph Title: Confusion between classes and structs regarding fields · Issue #307 · nodegit/nodegit
X Title: Confusion between classes and structs regarding fields · Issue #307 · nodegit/nodegit
Description: So currently we choose to use either the field_accessors or fields partial based on if we determine a type to be a class or a struct. Unfortunately this doesnt always line up. git_time has standard fields on it, that can be set, but are ...
Open Graph Description: So currently we choose to use either the field_accessors or fields partial based on if we determine a type to be a class or a struct. Unfortunately this doesnt always line up. git_time has standard...
X Description: So currently we choose to use either the field_accessors or fields partial based on if we determine a type to be a class or a struct. Unfortunately this doesnt always line up. git_time has standard...
Opengraph URL: https://github.com/nodegit/nodegit/issues/307
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Confusion between classes and structs regarding fields","articleBody":"So currently we choose to use either the `field_accessors` or `fields` partial based on if we determine a type to be a class or a struct. Unfortunately this doesnt always line up. git_time has standard fields on it, that can be set, but are treated as access functions only, because it is determined to be a \"class\".\n\nI'm starting to think that maybe the whole class/struct thing needs to fade together, but short term, we should at least try to get this fixed. I can take a look at this, since it's kind of making some date-time stuff tricky. \n","author":{"url":"https://github.com/maxkorp","@type":"Person","name":"maxkorp"},"datePublished":"2014-12-01T17:28:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/307/nodegit/issues/307"}
| 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:3b3f8298-6d4d-3874-b44e-c828ee4c9ae3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8E18:22057:2D359EB:3F63964:69710C4C |
| html-safe-nonce | 6390dd150d039337d0ee3b32d7126a859ca00b4bc9ebd4359d59d43521da8796 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTE4OjIyMDU3OjJEMzU5RUI6M0Y2Mzk2NDo2OTcxMEM0QyIsInZpc2l0b3JfaWQiOiIxMzM5NTA3NzkyMDkwODI3ODUzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | efa35f30af72aa76c663a983d6e1897c313801f3e2f1243564a8f2b1d7ad92d7 |
| hovercard-subject-tag | issue:50550674 |
| 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/307/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fba48aa87cfc844d0b2fa15a475e8abf5023b555b3e5d04ecd9fc06c7e671608/nodegit/nodegit/issues/307 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fba48aa87cfc844d0b2fa15a475e8abf5023b555b3e5d04ecd9fc06c7e671608/nodegit/nodegit/issues/307 |
| og:image:alt | So currently we choose to use either the field_accessors or fields partial based on if we determine a type to be a class or a struct. Unfortunately this doesnt always line up. git_time has standard... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | maxkorp |
| hostname | github.com |
| expected-hostname | github.com |
| None | 73ca43ac10b0f114fadc2d2cf702bc0c6453174aa5f9dad3a1d131b428870c6d |
| 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 | 8c16e50bde10edd19f5772e9b3804df6d7bf9bfe |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width