MCPcopy Create free account
hub / github.com/alibaba/open-code-review / SetDiffMap

Method SetDiffMap

internal/tool/file_read_diff.go:59–61  ·  view source on GitHub ↗

SetDiffMap replaces the diff snapshot. Must be called before concurrent access begins.

(dm DiffMap)

Source from the content-addressed store, hash-verified

57
58// SetDiffMap replaces the diff snapshot. Must be called before concurrent access begins.
59func (p *FileReadDiffProvider) SetDiffMap(dm DiffMap) {
60 p.diffMap = dm
61}
62
63func (p *FileReadDiffProvider) Tool() Tool { return FileReadDiff }
64

Calls

no outgoing calls