MCPcopy Create free account
hub / github.com/cogentcore/core / resetCache

Method resetCache

core/windowgeometry.go:73–75  ·  view source on GitHub ↗

resetCache resets the cache; call under mutex

()

Source from the content-addressed store, hash-verified

71
72// resetCache resets the cache; call under mutex
73func (ws *windowGeometrySaver) resetCache() {
74 ws.cache = make(windowGeometries)
75}
76
77// lockFile attempts to create the window geometry lock file
78func (ws *windowGeometrySaver) lockFile() error {

Callers 2

initMethod · 0.95
saveCachedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected