MCPcopy Create free account
hub / github.com/driusan/dgit / DiffIndex

Function DiffIndex

git/diffindex.go:19–92  ·  view source on GitHub ↗

DiffIndex compares the index against a tree. If the index passed is nil, it reads the index from the .git directory

(c *Client, opt DiffIndexOptions, index *Index, tree Treeish, paths []File)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

DiffIndexFunction · 0.92
StatusLongFunction · 0.70
DiffFunction · 0.70
ResetUnstageFunction · 0.70
CheckoutCommitFunction · 0.70

Calls 5

HashFileFunction · 0.85
ReadIndexMethod · 0.80
FilePathMethod · 0.80
LsTreeFunction · 0.70
StringMethod · 0.65

Tested by

no test coverage detected