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