summaryrefslogtreecommitdiff
path: root/crates/utils/sha1_hash/src/lib.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2025-11-25 15:10:53 +0800
committer魏曹先生 <1992414357@qq.com>2025-11-25 15:10:53 +0800
commit292227c83753564cde90de7a4f43d9ef4660bd4c (patch)
tree5a8f4aaddf85b689985f129fc6d6d4c16e6a478e /crates/utils/sha1_hash/src/lib.rs
parentf2ecc33f447ba0ccae261720019fa2820aa21875 (diff)
Improve documentation for system action and config file crates
Diffstat (limited to 'crates/utils/sha1_hash/src/lib.rs')
-rw-r--r--crates/utils/sha1_hash/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/utils/sha1_hash/src/lib.rs b/crates/utils/sha1_hash/src/lib.rs
index 9963cbe..c34db1d 100644
--- a/crates/utils/sha1_hash/src/lib.rs
+++ b/crates/utils/sha1_hash/src/lib.rs
@@ -5,6 +5,9 @@ use tokio::fs::File;
use tokio::io::{AsyncReadExt, BufReader};
use tokio::task;
+/// # Struct - Sha1Result
+///
+/// Records SHA1 calculation results, including the file path and hash value
#[derive(Debug, Clone)]
pub struct Sha1Result {
pub file_path: PathBuf,