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: redirect.github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4616aec8-1afa-66a5-f87e-9ef9e1f3ac9e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DFBE:DBA46:1C2A1:256BD:69696FBB |
| html-safe-nonce | aa56dc2458b0658025ce8abeaad8be14e6120d712d192830a21146cd8e693d5e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkJFOkRCQTQ2OjFDMkExOjI1NkJEOjY5Njk2RkJCIiwidmlzaXRvcl9pZCI6IjM2NzU1NTc5MDc1OTIyMTI0MTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | cff3753785f119dba48d03d7ea739fe5bf3814e1911dc81bf14c09ab746aeb6b |
| 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 | c6f193beb8ff08443adc07685d75302ab8aaf0a135f6e251c3ff3112c8deb881 |
| 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 | ec4d88fbe7ed62446d90b0a6d8e6db4248a8f8b8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width