diff options
Diffstat (limited to 'log_db')
| -rw-r--r-- | log_db/src/lib.rs | 2 | ||||
| -rw-r--r-- | log_db/src/memtable_secondary.rs | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/log_db/src/lib.rs b/log_db/src/lib.rs index e354cf6..bce9d13 100644 --- a/log_db/src/lib.rs +++ b/log_db/src/lib.rs @@ -18,9 +18,7 @@ use std::collections::BTreeMap; use std::fmt::Debug; use std::fs::{self}; use std::io::{self, Read, Seek, SeekFrom, Write}; -use std::os::unix::fs::MetadataExt; use std::path::{Path, PathBuf}; -use uuid::Uuid; pub struct ConfigBuilder<Field: Eq + Clone + Debug> { data_dir: Option<String>, diff --git a/log_db/src/memtable_secondary.rs b/log_db/src/memtable_secondary.rs index 5c6cd92..9086a97 100644 --- a/log_db/src/memtable_secondary.rs +++ b/log_db/src/memtable_secondary.rs @@ -31,10 +31,6 @@ impl SecondaryMemtable { }; } - pub fn replace(&mut self, key: &IndexableValue, values: &LogKeySet) { - self.records.insert(key.clone(), values.clone()); - } - pub fn find_all(&self, key: &IndexableValue) -> &HashSet<LogKey> { match self.records.get(key) { Some(set) => set.log_keys(), |
