MCPcopy Create free account
hub / github.com/nsf/gocode / init

Method init

package_bin.go:74–80  ·  view source on GitHub ↗
(data []byte, pfc *package_file_cache)

Source from the content-addressed store, hash-verified

72}
73
74func (p *gc_bin_parser) init(data []byte, pfc *package_file_cache) {
75 p.data = data
76 p.version = -1 // unknown version
77 p.strList = []string{""} // empty string is mapped to 0
78 p.pathList = []string{""} // empty string is mapped to 0
79 p.pfc = pfc
80}
81
82func (p *gc_bin_parser) parse_export(callback func(string, ast.Decl)) {
83 p.callback = callback

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected