SetDiffMap replaces the diff snapshot. Must be called before concurrent access begins.
(dm DiffMap)
| 37 | |
| 38 | // SetDiffMap replaces the diff snapshot. Must be called before concurrent access begins. |
| 39 | func (p *FileReadDiffProvider) SetDiffMap(dm DiffMap) { |
| 40 | p.diffMap = dm |
| 41 | } |
| 42 | |
| 43 | func (p *FileReadDiffProvider) Tool() Tool { return FileReadDiff } |
| 44 |
no outgoing calls