IndexWriter returns a file pointer for write to the index file
()
| 183 | |
| 184 | // IndexWriter returns a file pointer for write to the index file |
| 185 | func (d *DotGit) IndexWriter() (billy.File, error) { |
| 186 | return d.fs.Create(indexPath) |
| 187 | } |
| 188 | |
| 189 | // Index returns a file pointer for read to the index file |
| 190 | func (d *DotGit) Index() (billy.File, error) { |