cache

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileCache

type FileCache struct {
	// contains filtered or unexported fields
}

FileCache holds information about open files in the workspace.

func NewFileCache

func NewFileCache() *FileCache

func (*FileCache) Close

func (s *FileCache) Close(filename string) error

func (FileCache) Get

func (s FileCache) Get(filename string) *parser.File

func (FileCache) IsOpen

func (s FileCache) IsOpen(filename string) bool

func (*FileCache) Open

func (s *FileCache) Open(filename string) (*parser.File, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL