Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Get one branch: its head commit and whether it is protected.
import asyncio from charter.packs import github result = asyncio.run(github.repos_get_branch.ainvoke({"owner": ..., "repo": ..., "branch": ...}))
repo
github.APP
github.FINE_GRAINED
contents=read
contents=write
owner
string
.git
branch
main
refs/heads/main
Was this page helpful?