convenience method for updating a file and adding it
(fileName string, fileContents string)
| 227 | |
| 228 | // convenience method for updating a file and adding it |
| 229 | func (self *Shell) UpdateFileAndAdd(fileName string, fileContents string) *Shell { |
| 230 | return self. |
| 231 | UpdateFile(fileName, fileContents). |
| 232 | GitAdd(fileName) |
| 233 | } |
| 234 | |
| 235 | // convenience method for deleting a file and adding it |
| 236 | func (self *Shell) DeleteFileAndAdd(fileName string) *Shell { |
no test coverage detected