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

Method ReadAll

git/file.go:140–146  ·  view source on GitHub ↗

Reads the entire contents of file and return as a string. Note that this should only be used for very small files (like refspecs)

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 14

iteratePackFunction · 0.80
UnpackObjectsFunction · 0.80
getObjectAtOffsetMethod · 0.80
SymbolicRefGetFunction · 0.80
getObjectMethod · 0.80
ValueMethod · 0.80
CompressedWriterMethod · 0.80
HashReaderFunction · 0.80
ParseConfigFunction · 0.80
MktagFunction · 0.80

Calls 2

StringMethod · 0.95
ReadFileMethod · 0.80

Tested by 1

TestSanityTestFunction · 0.64