convenience method for creating a file and adding it
(fileName string, fileContents string)
| 220 | |
| 221 | // convenience method for creating a file and adding it |
| 222 | func (self *Shell) CreateFileAndAdd(fileName string, fileContents string) *Shell { |
| 223 | return self. |
| 224 | CreateFile(fileName, fileContents). |
| 225 | GitAdd(fileName) |
| 226 | } |
| 227 | |
| 228 | // convenience method for updating a file and adding it |
| 229 | func (self *Shell) UpdateFileAndAdd(fileName string, fileContents string) *Shell { |
no test coverage detected