MCPcopy
hub / github.com/coocood/freecache / isExpired

Function isExpired

segment.go:483–485  ·  view source on GitHub ↗

isExpired checks if a key is expired.

(keyExpireAt, now uint32)

Source from the content-addressed store, hash-verified

481
482// isExpired checks if a key is expired.
483func isExpired(keyExpireAt, now uint32) bool {
484 return keyExpireAt != 0 && keyExpireAt <= now
485}

Callers 4

touchMethod · 0.85
evacuateMethod · 0.85
locateMethod · 0.85
ttlMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…