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

Function new_decl_cache

declcache.go:509–514  ·  view source on GitHub ↗
(context *package_lookup_context)

Source from the content-addressed store, hash-verified

507}
508
509func new_decl_cache(context *package_lookup_context) *decl_cache {
510 return &decl_cache{
511 cache: make(map[string]*decl_file_cache),
512 context: context,
513 }
514}
515
516func (c *decl_cache) get(filename string) *decl_file_cache {
517 c.Lock()

Callers 2

new_daemonFunction · 0.85
drop_cacheMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected