diff options
| author | metamuffin <metamuffin@disroot.org> | 2026-01-24 04:31:48 +0100 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2026-01-24 04:31:48 +0100 |
| commit | b2e88a8beabf04adc28947cf82996e8692a68b71 (patch) | |
| tree | 23d66c8672b69cce7835ffabae4092669062ada8 /cache/src/backends/dummy.rs | |
| parent | 774f64c0789529884dd7a5232f190e347ad29532 (diff) | |
| download | jellything-b2e88a8beabf04adc28947cf82996e8692a68b71.tar jellything-b2e88a8beabf04adc28947cf82996e8692a68b71.tar.bz2 jellything-b2e88a8beabf04adc28947cf82996e8692a68b71.tar.zst | |
move things around; kv crate
Diffstat (limited to 'cache/src/backends/dummy.rs')
| -rw-r--r-- | cache/src/backends/dummy.rs | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/cache/src/backends/dummy.rs b/cache/src/backends/dummy.rs deleted file mode 100644 index 7b0efa5..0000000 --- a/cache/src/backends/dummy.rs +++ /dev/null @@ -1,18 +0,0 @@ -/* - This file is part of jellything (https://codeberg.org/metamuffin/jellything) - which is licensed under the GNU Affero General Public License (version 3); see /COPYING. - Copyright (C) 2026 metamuffin <metamuffin.org> -*/ - -use crate::backends::CacheStorage; -use anyhow::Result; - -pub struct Dummy; -impl CacheStorage for Dummy { - fn store(&self, _key: String, _value: &[u8]) -> Result<()> { - Ok(()) - } - fn read(&self, _key: &str) -> Result<Option<Vec<u8>>> { - Ok(None) // sorry forgot - } -} |