native
nvault_touch
Syntax
native nvault_touch(vault, const key[], timestamp=-1);
Description
"Touches" an entry in the vault, updating its timestamp.
Parameters
| vault | A vault handle returned from nvault_open() |
|---|---|
| key | The key to search for |
| timestamp | Update an entry's timestamp to this one. Default is -1. |
Note
If timestamp is equal to -1, it will use the current time.
Note
An empty entry is created if one with the given key doesn't exist.
Return
This function has no return value.
Error
On invalid vault handle.