()
| 215 | type package_cache map[string]*package_file_cache |
| 216 | |
| 217 | func new_package_cache() package_cache { |
| 218 | m := make(package_cache) |
| 219 | |
| 220 | // add built-in "unsafe" package |
| 221 | m.add_builtin_unsafe_package() |
| 222 | |
| 223 | return m |
| 224 | } |
| 225 | |
| 226 | // Function fills 'ps' set with packages from 'packages' import information. |
| 227 | // In case if package is not in the cache, it creates one and adds one to the cache. |
no test coverage detected