(dm DiffMap)
| 52 | } |
| 53 | |
| 54 | func NewFileReadDiff(dm DiffMap) *FileReadDiffProvider { |
| 55 | return &FileReadDiffProvider{diffMap: dm} |
| 56 | } |
| 57 | |
| 58 | // SetDiffMap replaces the diff snapshot. Must be called before concurrent access begins. |
| 59 | func (p *FileReadDiffProvider) SetDiffMap(dm DiffMap) { |
no outgoing calls