gotools/gopls/internal/cache/cache.go

var ballast

// New Creates a new cache for gopls operation results, using the given file
// set, shared store, and session options.
//
// Both the fset and store may be nil, but if store is non-nil so must be fset
// (and they must always be used together), otherwise it may be possible to get
// cached data referencing token.Pos values not mapped by the FileSet.
func New(store *memoize.Store) *Cache {}

type Cache

var (
	cacheIndex
	sessionIndex
	viewIndex
)

func (c *Cache) ID() string                     {}

func (c *Cache) MemStats() map[reflect.Type]int {}

// FileStats returns information about the set of files stored in the cache.
// It is intended for debugging only.
func (c *Cache) FileStats() (stats command.FileStats) {}