mirror of
https://github.com/NotAShelf/stash.git
synced 2026-04-13 06:23:47 +00:00
db: switch to sqlite as the primary backend
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I6a6a69648f81d0d094e11a3e0f0a19d3b8eccd5d
This commit is contained in:
parent
efcbe17d73
commit
4f725425fc
12 changed files with 246 additions and 274 deletions
|
|
@ -1,4 +1,4 @@
|
|||
use crate::db::{ClipboardDb, SledClipboardDb};
|
||||
use crate::db::{ClipboardDb, SqliteClipboardDb};
|
||||
|
||||
use std::io::{Read, Write};
|
||||
|
||||
|
|
@ -13,7 +13,7 @@ pub trait DecodeCommand {
|
|||
) -> Result<(), StashError>;
|
||||
}
|
||||
|
||||
impl DecodeCommand for SledClipboardDb {
|
||||
impl DecodeCommand for SqliteClipboardDb {
|
||||
fn decode(
|
||||
&self,
|
||||
in_: impl Read,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue