MCPcopy
hub / github.com/gofiber/fiber / pushInternal

Method pushInternal

middleware/cache/heap.go:58–61  ·  view source on GitHub ↗
(entry heapEntry)

Source from the content-addressed store, hash-verified

56}
57
58func (h *indexedHeap) pushInternal(entry heapEntry) {
59 h.indices[entry.idx] = len(h.entries)
60 h.entries = append(h.entries, entry)
61}
62
63// Returns index to track entry
64func (h *indexedHeap) put(key string, exp uint64, bytes uint) int {

Callers 2

PushMethod · 0.95
putMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected