feat: Add 2, update 6 and remove 1 files
All checks were successful
Build-Test-Publish / build (linux/amd64) (push) Successful in 48s
Build-Test-Publish / build (linux/arm64) (push) Successful in 2m8s

This commit is contained in:
Your Name
2025-09-02 18:46:53 +12:00
parent 6528d12df9
commit 344c0307c9
9 changed files with 446 additions and 7476 deletions

View File

@@ -67,13 +67,13 @@ int hash_handler(const CommandContext& ctx) {
if (std::filesystem::is_directory(path))
{
// hash the directory recursively
uint64_t hash = hash_directory_recursive(path.string());
std::string hash = hash_directory_recursive(path.string());
std::cout << hash << std::endl;
}
else
{
// hash the file
uint64_t hash = hash_file(path.string());
std::string hash = hash_file(path.string());
std::cout << hash << std::endl;
}
return 0;