0febb5045a
This crate contains a file-backed, rotating cache. The cache should be safe to be accessed from multiple processes at once. The cache stores the value at the provided path. If `keep_old` is >0, the cache will keep up to `keep_old` versions around which can be queried via the `get_last` method. The value and its history are stored in the same file, each generation represented by a single line of JSON. Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
19 lines
827 B
Plaintext
19 lines
827 B
Plaintext
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
|
|
|
Files:
|
|
*
|
|
Copyright: 2024 Proxmox Server Solutions GmbH <support@proxmox.com>
|
|
License: AGPL-3.0-or-later
|
|
This program is free software: you can redistribute it and/or modify it under
|
|
the terms of the GNU Affero General Public License as published by the Free
|
|
Software Foundation, either version 3 of the License, or (at your option) any
|
|
later version.
|
|
.
|
|
This program is distributed in the hope that it will be useful, but WITHOUT
|
|
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
|
|
details.
|
|
.
|
|
You should have received a copy of the GNU Affero General Public License along
|
|
with this program. If not, see <https://www.gnu.org/licenses/>.
|