diff --git a/src/storage.rs b/src/storage.rs index bcbeac8..0560c35 100644 --- a/src/storage.rs +++ b/src/storage.rs @@ -144,6 +144,8 @@ impl Item { } } +// Tools + fn meta_path(path: &str) -> String { format!("{}{META_SUFFIX}", path) } @@ -153,3 +155,5 @@ fn read_meta(path: &str) -> Result { File::open(meta_path(path))?.read_to_string(&mut buffer)?; Ok(buffer) } + +// * @TODO move `meta` feature to separated struct impl on complete