Cache.createTime

Checks whether an item exists in the cache and returns its create time.

class Cache(size_t ValueSize = 0, bool TrackCreateTimes = false)
override
static if(TrackCreateTimes)
time_t
createTime
(
hash_t key
)

Parameters

key hash_t

key to lookup

Return Value

Type: time_t

item's create time, or 0 if the item doesn't exist

Meta