Remove production plaintext storage helpers
This commit is contained in:
@@ -24,11 +24,8 @@ impl Database {
|
||||
.join("cliphoard/cliphoard.db")
|
||||
}
|
||||
|
||||
pub fn open_default() -> Result<Self> {
|
||||
Self::open(Self::default_path())
|
||||
}
|
||||
|
||||
pub fn open(path: impl AsRef<Path>) -> Result<Self> {
|
||||
#[cfg(test)]
|
||||
fn open(path: impl AsRef<Path>) -> Result<Self> {
|
||||
Self::open_internal(path, None)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user