MCPcopy Create free account
hub / github.com/DAddYE/igo / readSource

Function readSource

parser/interface.go:25–47  ·  view source on GitHub ↗

If src != nil, readSource converts src to a []byte if possible; otherwise it returns an error. If src == nil, readSource returns the result of reading the file specified by filename.

(filename string, src interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ParseFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected