MCPcopy Create free account
hub / github.com/AdRoll/baker / removeHot

Method removeHot

pkg/buffercache/location.go:63–69  ·  view source on GitHub ↗

removeHot removes all locations pointing to the hot cache.

()

Source from the content-addressed store, hash-verified

61
62// removeHot removes all locations pointing to the hot cache.
63func (m *locationMap) removeHot() {
64 for key, loc := range m.m {
65 if loc.isHot() {
66 delete(m.m, key)
67 }
68 }
69}

Callers 1

flushHotMethod · 0.80

Calls 1

isHotMethod · 0.80

Tested by

no test coverage detected