MCPcopy Index your code
hub / github.com/driusan/dgit / ExternalDiff

Method ExternalDiff

git/hashdiff.go:40–91  ·  view source on GitHub ↗

Returns a diff in the format of the command "diff". Note: this invokes an external diff tool. It should be rewritten in Go to avoid the overhead (and the possibility that diff isn't installed.)

(c *Client, s1, s2 TreeEntry, f File, opts DiffCommonOptions)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

GeneratePatchFunction · 0.80

Calls 9

IndexPathTypeAlias · 0.85
RemoveMethod · 0.80
NameMethod · 0.80
IndexPathMethod · 0.80
GetObjectMethod · 0.65
GetContentMethod · 0.65
CloseMethod · 0.65
StringMethod · 0.65
WriteMethod · 0.45

Tested by

no test coverage detected