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

Method removeFirst

middleware/cache/heap.go:95–97  ·  view source on GitHub ↗

Remove entry with lowest expiration time

()

Source from the content-addressed store, hash-verified

93
94// Remove entry with lowest expiration time
95func (h *indexedHeap) removeFirst() (key string, size uint) { //nolint:nonamedreturns // gocritic unnamedResult prefers naming returned key and size pair
96 return h.removeInternal(0)
97}

Callers 2

NewFunction · 0.95

Calls 1

removeInternalMethod · 0.95

Tested by 1