cleanupHistory

fun KeePassDatabase.cleanupHistory(reference: Instant = Instant.now()): KeePassDatabase

Drops outdated history entries while taking into account historyMaxItems. Note that historyMaxSize value is ignored by this method.

Return

modified KeePassDatabase.