MCPcopy Create free account
hub / github.com/diillson/chatcli / InvalidateCache

Method InvalidateCache

cli/workspace/bootstrap.go:118–122  ·  view source on GitHub ↗

InvalidateCache forces reload on next call.

()

Source from the content-addressed store, hash-verified

116
117// InvalidateCache forces reload on next call.
118func (bl *BootstrapLoader) InvalidateCache() {
119 bl.mu.Lock()
120 defer bl.mu.Unlock()
121 bl.cache = make(map[string]cachedFile)
122}
123
124func (bl *BootstrapLoader) loadWithCache(path string) (string, bool) {
125 info, err := os.Stat(path)

Callers 9

invalidateMethod · 0.45
worktreeCreateMethod · 0.45
worktreeRemoveMethod · 0.45
rememberMemoryFactMethod · 0.45
forgetMemoryFactMethod · 0.45
setMemoryProfileMethod · 0.45
runRollupsMethod · 0.45
onExtractionSuccessMethod · 0.45
maybeCompactMethod · 0.45

Calls 2

LockMethod · 0.80
UnlockMethod · 0.80

Tested by

no test coverage detected