Skip to content

Commit

Permalink
docs(core): fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
beeb committed Sep 5, 2024
1 parent 981ee11 commit ccaa59e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions crates/soldeer-core/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,6 @@ pub fn hash_content<R: Read>(content: &mut R) -> [u8; 32] {
/// dir, combining them into a single hash.
///
/// We hash the name of the folders and files too, so we can check the integrity of their names.
///
/// Since the folder contains the zip file still, we need to skip it. TODO: can we remove the zip
/// file right after unzipping so this is not necessary?
pub fn hash_folder(folder_path: impl AsRef<Path>) -> Result<IntegrityChecksum, std::io::Error> {
// a list of hashes, one for each DirEntry
let all_hashes = Arc::new(Mutex::new(Vec::with_capacity(100)));
Expand Down

0 comments on commit ccaa59e

Please sign in to comment.