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

Function NewFileReadDiff

internal/tool/file_read_diff.go:37–39  ·  view source on GitHub ↗
(dm DiffMap)

Source from the content-addressed store, hash-verified

35}
36
37func NewFileReadDiff(dm DiffMap) *FileReadDiffProvider {
38 return &FileReadDiffProvider{diffMap: dm}
39}
40
41// SetDiffMap replaces the diff snapshot. Must be called before concurrent access begins.
42func (p *FileReadDiffProvider) SetDiffMap(dm DiffMap) {

Callers 6

TestInjectScanContentMapFunction · 0.92
TestInjectDiffMapFunction · 0.92
buildToolRegistryFunction · 0.92

Calls

no outgoing calls