StatictoConvert a timestamp to a (french) human date : DD/MM/YYYY, hh:mm:ss
Clear all checkpoints.
Get tags at a specific index (0 is the most recent).
Get timestamp at a specific index (0 is the most recent).
Get the most recent tags. Equivalent to getIndex(0).
Get the most recent timestamp. Equivalent to getIndexTimestamp(0).
Does this checkpoint has this tag?
Get the total number of checkpoints.
Remove the oldest checkpoint.
Get the array of all timestamps sorted in reverse historical order.
Staticdrop
A class to manage checkpoints (multiple backups). Stored data is of type string (json conversion if needed). One can add tags to checkpoints.
name is a string used to identify each instance. maxItems is the maximum number of checkpoints we keep before removing old ones. Set to zero to disable.