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

Function NewFileReadDiff

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

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls