tools: Index | Files

package cache

import ""

Package cache implements the caching layer for gopls.


Package Files

analysis.go builtin.go cache.go check.go errors.go external.go file.go gofile.go load.go parse.go pkg.go session.go snapshot.go view.go watcher.go

func New Uses

func New(options func(*source.Options)) source.Cache

type WatchMap Uses

type WatchMap struct {
    // contains filtered or unexported fields

func NewWatchMap Uses

func NewWatchMap() *WatchMap

func (*WatchMap) Notify Uses

func (w *WatchMap) Notify(key interface{}, action source.FileAction) bool

func (*WatchMap) Watch Uses

func (w *WatchMap) Watch(key interface{}, callback func(source.FileAction) bool) func()

Package cache imports 35 packages (graph) and is imported by 3 packages. Updated 2019-11-15. Refresh now. Tools for package owners.