MCPcopy
hub / github.com/gobyexample-cn/gobyexample / parseHashFile

Function parseHashFile

tools/generate.go:117–120  ·  view source on GitHub ↗
(sourcePath string)

Source from the content-addressed store, hash-verified

115}
116
117func parseHashFile(sourcePath string) (string, string) {
118 lines := readLines(sourcePath)
119 return lines[0], lines[1]
120}
121
122func resetURLHashFile(codehash, code, sourcePath string) string {
123 if verbose() {

Callers 1

parseExamplesFunction · 0.85

Calls 1

readLinesFunction · 0.70

Tested by

no test coverage detected