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.
Create a file or replace an existing one, in a single commit. Write the content as plain text. To replace a file, read it first and pass its sha; without one GitHub treats this as a create and refuses if the path exists.
sha
import asyncio from charter.packs import github result = asyncio.run(github.repos_create_or_update_file.ainvoke({"owner": ..., "repo": ..., "path": ..., "message": ..., "content": ...}))
repo
github.APP
github.FINE_GRAINED
contents=write
owner
string
.git
path
message
content
branch
committer
author
Was this page helpful?