MCPcopy Create free account
hub / github.com/53AI/53AIHub / invalidateLibraryCache

Function invalidateLibraryCache

api/model/library_cache.go:16–21  ·  view source on GitHub ↗
(eid int64)

Source from the content-addressed store, hash-verified

14}
15
16func invalidateLibraryCache(eid int64) {
17 if eid <= 0 || libraryCacheInvalidator == nil {
18 return
19 }
20 libraryCacheInvalidator(eid)
21}
22
23// GetLibrariesByEidCached returns all libraries for the eid, using a shared loader when available.
24func GetLibrariesByEidCached(eid int64) ([]Library, error) {

Callers 4

SaveMethod · 0.70
UpdateMethod · 0.70
DeleteLibraryFunction · 0.70
BatchUpdateLibrarySortFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected