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