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

Function new_package_file_cache

package.go:33–40  ·  view source on GitHub ↗
(absname, name string)

Source from the content-addressed store, hash-verified

31}
32
33func new_package_file_cache(absname, name string) *package_file_cache {
34 m := new(package_file_cache)
35 m.name = absname
36 m.import_name = name
37 m.mtime = 0
38 m.defalias = ""
39 return m
40}
41
42// Creates a cache that stays in cache forever. Useful for built-in packages.
43func new_package_file_cache_forever(name, defalias string) *package_file_cache {

Callers 2

append_packagesMethod · 0.85
resolveKnownPackageIdentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected