ShallowWriter returns a file pointer for write to the shallow file
()
| 193 | |
| 194 | // ShallowWriter returns a file pointer for write to the shallow file |
| 195 | func (d *DotGit) ShallowWriter() (billy.File, error) { |
| 196 | return d.fs.Create(shallowPath) |
| 197 | } |
| 198 | |
| 199 | // Shallow returns a file pointer for read to the shallow file |
| 200 | func (d *DotGit) Shallow() (billy.File, error) { |