Title: Join `Pathlike` Object to Tree by George-Ogden · Pull Request #2094 · gitpython-developers/GitPython · GitHub
Open Graph Title: Join `Pathlike` Object to Tree by George-Ogden · Pull Request #2094 · gitpython-developers/GitPython
X Title: Join `Pathlike` Object to Tree by George-Ogden · Pull Request #2094 · gitpython-developers/GitPython
Description: This extends the Tree.join and Tree.__truediv__ API to allow a pathlike object. For example: repo = Repo(my_local_repo) interesting_filepath: Path = Path(folder) / file blob = repo.tree() / interesting_filepath This did not work before without explicitly converting the Path to a string, but works now.
Open Graph Description: This extends the Tree.join and Tree.__truediv__ API to allow a pathlike object. For example: repo = Repo(my_local_repo) interesting_filepath: Path = Path(folder) / file blob = repo.tree() / interes...
X Description: This extends the Tree.join and Tree.__truediv__ API to allow a pathlike object. For example: repo = Repo(my_local_repo) interesting_filepath: Path = Path(folder) / file blob = repo.tree() / interes...
Opengraph URL: https://github.com/gitpython-developers/GitPython/pull/2094
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:3996f56f-eaa5-ca5b-8d71-5928b72a84b3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B6F8:2FA0C8:3C203A9:50A4C8B:696F1949 |
| html-safe-nonce | 2edeb4dde317826d42f2c56cfa7c2d6c523378c40af48c3cdf78976d2577ddff |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNkY4OjJGQTBDODozQzIwM0E5OjUwQTRDOEI6Njk2RjE5NDkiLCJ2aXNpdG9yX2lkIjoiODU2ODg3MDk4NzUyMjU3ODc2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | da172e476d258dd815b8139f4a77bb5857907cadd7b0d682191710b1a8d80cd2 |
| hovercard-subject-tag | pull_request:3097862401 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/gitpython-developers/GitPython/pull/2094/files |
| twitter:image | https://avatars.githubusercontent.com/u/38294960?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/38294960?s=400&v=4 |
| og:image:alt | This extends the Tree.join and Tree.__truediv__ API to allow a pathlike object. For example: repo = Repo(my_local_repo) interesting_filepath: Path = Path(folder) / file blob = repo.tree() / interes... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126087 |
| octolytics-dimension-repository_nwo | gitpython-developers/GitPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126087 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/GitPython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width