Updating a file's content without down/upload (i.e. append)? #24733
-
I’ve was making use of Octokit to read a file (>10MB) from from my repo, add a line and then commit the updated file. This consisted of But, obviously, this involves a large data transfer and… I’d rather not! Is there a way to achieve this without the data transfer, such as a Pointers appreciated. TIA! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I’ve settled on making use of the Data API, following the example here. Although this doesn’t solve the append aspect of my challenge, it does make my commits a bit more resilient against the content API’s 10 second timeout. Big thanks to Steve @ GH for the pointers! |
Beta Was this translation helpful? Give feedback.
I’ve settled on making use of the Data API, following the example here. Although this doesn’t solve the append aspect of my challenge, it does make my commits a bit more resilient against the content API’s 10 second timeout.
Big thanks to Steve @ GH for the pointers!