------------------------------------------------------------------------- package_file_cache Structure that represents a cache for an imported pacakge. In other words these are the contents of an archive (*.a) file. -------------------------------------------------------------------------
| 20 | //------------------------------------------------------------------------- |
| 21 | |
| 22 | type 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 | |
| 33 | func new_package_file_cache(absname, name string) *package_file_cache { |
| 34 | m := new(package_file_cache) |
nothing calls this directly
no outgoing calls
no test coverage detected