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

Function NewFileReadDiff

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

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls