diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index e38c2bf..df35002 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -35,7 +35,8 @@
-
+
+
@@ -64,8 +65,21 @@
+
+
+
+
+
+
+
-
+
+
+
+
@@ -104,6 +118,11 @@
+
+
+
+
+
@@ -121,7 +140,7 @@
1605319852432
-
+
1605320835224
@@ -137,7 +156,14 @@
1605320903621
-
+
+ 1605320940070
+
+
+
+ 1605320940070
+
+
@@ -157,9 +183,18 @@
-
+
+
+
+
+
+
+
+
+
+
@@ -168,46 +203,54 @@
-
+
+
+
+
+
+
+
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
diff --git a/src/storage/store.rs b/src/storage/store.rs
index 60ba7a8..ec18973 100644
--- a/src/storage/store.rs
+++ b/src/storage/store.rs
@@ -1,9 +1,11 @@
#![allow(unused)]
-use regex;
+
use std::fs;
-use std::io::{prelude::*, Error, ErrorKind};
+use std::io::{Error, ErrorKind, prelude::*};
use std::path;
+use regex;
+
#[derive(Debug, PartialEq)]
pub struct Store {
path: String,
@@ -69,10 +71,12 @@ impl Store {
#[cfg(test)]
mod tests {
- use super::Store;
- use regex;
use std::{fs, io, iter::FromIterator, path, path::MAIN_SEPARATOR, time::SystemTime};
+ use regex;
+
+ use super::Store;
+
const TMP_DIR: [&'static str; 5] = ["/tmp", "pigeon_core", "test_data", "storage", "store"];
fn format_file_name(name: &str) -> String {