From 198ddd77821c629c17058a10d9eb391beed8309c Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 1 May 2025 19:41:29 +1200 Subject: [PATCH] Allow hash of current directory --- src/autocomplete.cpp | 9 +++++++++ src/utils/hash.cpp | 22 +++++++++++++++++++--- src/utils/hash.hpp | 2 ++ 3 files changed, 30 insertions(+), 3 deletions(-) diff --git a/src/autocomplete.cpp b/src/autocomplete.cpp index 7451a2c..7318ca4 100644 --- a/src/autocomplete.cpp +++ b/src/autocomplete.cpp @@ -22,6 +22,15 @@ void dropshell::autocomplete(const std::vector &args) // std::cout<<" cmd = ["<(end - start); std::cout << "Hash: " << hash << " (took " << duration.count() << "ms)" << std::endl; @@ -107,7 +123,7 @@ int hash_demo_raw(const std::string & path) if (!std::filesystem::exists(path)) { std::cout << 0 <