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

Method ReadFile

git/client.go:72–74  ·  view source on GitHub ↗

ReadFile reads a file under the GitDir and returns the contents.

(f File)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

parseRefFunction · 0.80
AddFileMethod · 0.80
TestRevertFunction · 0.80
TestUnidiffApplyFunction · 0.80
TestCheckoutIndexFunction · 0.80
ReadAllMethod · 0.80
ApplyFunction · 0.80
updateApplyIndexFunction · 0.80
TestSimpleCommitsFunction · 0.80
CloneFunction · 0.80
getSignersFunction · 0.80
TestInitRepoFunction · 0.80

Calls 2

FileMethod · 0.95
StringMethod · 0.65

Tested by 6

TestRevertFunction · 0.64
TestUnidiffApplyFunction · 0.64
TestCheckoutIndexFunction · 0.64
TestSimpleCommitsFunction · 0.64
TestInitRepoFunction · 0.64
TestCheckoutBranchFunction · 0.64