From 246e0b9997ec56fffaeb15b836fabf92754346b8 Mon Sep 17 00:00:00 2001 From: Drath Date: Sun, 28 Dec 2025 00:54:19 +0100 Subject: [PATCH] stop fucking with it bro --- src/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.cpp b/src/utils.cpp index f7c11d2..3ad74b7 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -59,7 +59,7 @@ ssize_t readFile(const std::string path, char* buffer, size_t maxlen) { return readFile(path.c_str(), buffer, maxlen); } -/* finds first dir in path and returns it */ +/* finds first dir in path and returns it. dont refactor, you dont understand it, its fast enough and you only use it on init */ std::string getFirstDir(std::string_view path) { for (const auto& entry : std::filesystem::directory_iterator(path)) return entry.path();