Non dependency hashing

This commit is contained in:
Your Name
2025-04-29 22:49:03 +12:00
parent 1ef4a16b66
commit 8c234cf88b
6 changed files with 20 additions and 935 deletions

View File

@ -1,14 +1,14 @@
#ifndef HASH_HPP
#define HASH_HPP
#include <xxhash.h>
#include <string>
#include <cstdint>
namespace dropshell {
XXH64_hash_t hash_file(const std::string &path);
uint64_t hash_file(const std::string &path);
XXH64_hash_t hash_directory_recursive(const std::string &path);
uint64_t hash_directory_recursive(const std::string &path);
void hash_demo(const std::string & path);