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

Method drop_cache

server.go:79–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77}
78
79func (this *daemon) drop_cache() {
80 this.pkgcache = new_package_cache()
81 this.declcache = new_decl_cache(&this.context)
82 this.autocomplete = new_auto_complete_context(this.pkgcache, this.declcache)
83}
84
85const (
86 daemon_close = iota

Callers 3

server_auto_completeFunction · 0.80
server_drop_cacheFunction · 0.80
server_setFunction · 0.80

Calls 3

new_package_cacheFunction · 0.85
new_decl_cacheFunction · 0.85

Tested by

no test coverage detected