cache

package
v1.7.29 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProjectCache = &projectCache{
	projects:                 make(map[string]*models.Project),
	projectsById:             make(map[uuid.UUID]*models.Project),
	projectsBySourceMapToken: make(map[string]*models.Project),
}
View Source
var SourceMapCache *sourceMapCache

Functions

func InitSourceMapCache

func InitSourceMapCache(maxCount int, maxBytes int64)

Types

type SourceMapCacheStats added in v1.7.29

type SourceMapCacheStats struct {
	Entries    int
	Bytes      int64
	MaxEntries int
	MaxBytes   int64
	Hits       uint64
	Misses     uint64
	Evictions  uint64
}

Jump to

Keyboard shortcuts

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