MCPcopy Index your code
hub / github.com/1Password/for-open-source / CommitNewFile

Method CommitNewFile

script/github.go:222–224  ·  view source on GitHub ↗
(filePath string, content []byte, message string)

Source from the content-addressed store, hash-verified

220}
221
222func (g *GitHub) CommitNewFile(filePath string, content []byte, message string) error {
223 return g.commitFile(filePath, content, message, false)
224}
225
226func (g *GitHub) UpdateFile(filePath string, content []byte, message string) error {
227 return g.commitFile(filePath, content, message, true)

Callers 1

ApproveMethod · 0.80

Calls 1

commitFileMethod · 0.95

Tested by

no test coverage detected