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

Method IsClean

git/client.go:522–536  ·  view source on GitHub ↗

Returns true if the file on the filesystem hashes to Sha1, (which is usually the hash from the index) to determine if the file is clean.

(c *Client, s Sha1)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

ReadTreeThreeWayFunction · 0.80
ReadTreeFastForwardFunction · 0.80
checkMergeAndUpdateFunction · 0.80
CheckoutIndexUncommitedFunction · 0.80

Calls 4

FilePathMethod · 0.95
HashFileFunction · 0.85
StringMethod · 0.65
ExistsMethod · 0.45

Tested by

no test coverage detected