aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/geniza-register.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-10-17 23:40:51 -0700
committerBryan Newbold <bnewbold@robocracy.org>2017-10-17 23:40:51 -0700
commit6212b062699fdb90be8d4f4d2bffdde1bf0b183c (patch)
tree0c9ca5466a9c51876017adba48fecf88fa315f29 /src/bin/geniza-register.rs
parent05e4db9271cbcbd7be28c7f2b3fd0df85b12a358 (diff)
downloadgeniza-6212b062699fdb90be8d4f4d2bffdde1bf0b183c.tar.gz
geniza-6212b062699fdb90be8d4f4d2bffdde1bf0b183c.zip
few basic tests
Diffstat (limited to 'src/bin/geniza-register.rs')
-rw-r--r--src/bin/geniza-register.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/geniza-register.rs b/src/bin/geniza-register.rs
index 8d70655..353857f 100644
--- a/src/bin/geniza-register.rs
+++ b/src/bin/geniza-register.rs
@@ -29,7 +29,7 @@ fn run() -> Result<()> {
("info", Some(subm)) => {
let dir = Path::new(subm.value_of("DIR").unwrap());
let prefix = subm.value_of("prefix").unwrap();
- let sdr = SleepDirRegister::open(dir, prefix, false)?;
+ let mut sdr = SleepDirRegister::open(dir, prefix, false)?;
//debug!(println!("{:?}", sdr));
println!("Entry count: {}", sdr.len()?);
println!("Total size (bytes): {}", sdr.len_bytes()?);