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

Struct package_file_cache

package.go:22–31  ·  view source on GitHub ↗

------------------------------------------------------------------------- package_file_cache Structure that represents a cache for an imported pacakge. In other words these are the contents of an archive (*.a) file. -------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

20//-------------------------------------------------------------------------
21
22type package_file_cache struct {
23 name string // file name
24 import_name string
25 mtime int64
26 defalias string
27
28 scope *scope
29 main *decl // package declaration
30 others map[string]*decl
31}
32
33func new_package_file_cache(absname, name string) *package_file_cache {
34 m := new(package_file_cache)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected