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

Function NewFileReadDiff

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

Source from the content-addressed store, hash-verified

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

Callers 6

TestInjectScanContentMapFunction · 0.92
TestInjectDiffMapFunction · 0.92
buildToolRegistryFunction · 0.92

Calls

no outgoing calls