From 707f5727f63e207b7ec1b289c0ab01a29c931b82 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sat, 22 Feb 2025 10:15:59 +0200 Subject: [PATCH] add comments --- src/storage.rs | 4 ++++ 1 file changed, 4 insertions(+) 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