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

Method SetDiffMap

internal/tool/file_read_diff.go:60–62  ·  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

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

Calls

no outgoing calls