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

Function new_package_cache

package.go:217–224  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

215type package_cache map[string]*package_file_cache
216
217func 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.

Callers 2

new_daemonFunction · 0.85
drop_cacheMethod · 0.85

Calls 1

Tested by

no test coverage detected