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

Function untrackedBinaryDiff

internal/diff/git.go:652–654  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

650}
651
652func untrackedBinaryDiff(path string) string {
653 return fmt.Sprintf("diff --git a/%s b/%s\nnew file mode 100644\nBinary files /dev/null and b/%s differ\n", path, path, path)
654}
655
656func (p *Provider) untrackedFileDiffs(ctx context.Context) ([]string, error) {
657 files, err := p.untrackedFilesList(ctx)

Callers 1

untrackedFileDiffsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected