cache

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildCache

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

BuildCache manages build cache to avoid unnecessary rebuilds

func NewBuildCache

func NewBuildCache(projectRoot string) *BuildCache

NewBuildCache creates a new build cache instance

func (*BuildCache) ClearCache

func (bc *BuildCache) ClearCache()

ClearCache clears the build cache

func (*BuildCache) GetCacheStats

func (bc *BuildCache) GetCacheStats() map[string]interface{}

GetCacheStats returns cache statistics

func (*BuildCache) MarkBuildComplete

func (bc *BuildCache) MarkBuildComplete(language string)

MarkBuildComplete marks a successful build completion

func (*BuildCache) ShouldRebuild

func (bc *BuildCache) ShouldRebuild(projectRoot, language string, extensions []string) bool

ShouldRebuild checks if a rebuild is necessary based on file changes

Jump to

Keyboard shortcuts

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