diff include/core/filesystem.h @ 413:192da585a0a8 default tip

*: fix formatting the clang-format file was broken andjust using LLVM defaults. now it's fixed and is more in line with what I actually prefer my code to look like -- esp. with regards to tabulators
author Paper <paper@tflc.us>
date Sat, 25 Jul 2026 14:54:32 -0400
parents e561b7542b7b
children
line wrap: on
line diff
--- a/include/core/filesystem.h	Sat Jul 25 14:33:03 2026 -0400
+++ b/include/core/filesystem.h	Sat Jul 25 14:54:32 2026 -0400
@@ -15,9 +15,7 @@
 std::filesystem::path GetAnimePostersPath(); // (dotpath)/anime/posters/
 
 struct PathHash {
-	auto operator()(const std::filesystem::path &p) const noexcept {
-		return std::filesystem::hash_value(p);
-	}
+	auto operator()(const std::filesystem::path &p) const noexcept { return std::filesystem::hash_value(p); }
 };
 
 template<typename T>
@@ -42,8 +40,8 @@
 };
 
 /* Constructor functions. Yes, I'm doing this the C way :) */
-IWatcher *GetRecursiveFilesystemWatcher(void *opaque, const std::filesystem::path &path,
-                                        IWatcher::EventHandler handler);
+IWatcher *GetRecursiveFilesystemWatcher(
+	void *opaque, const std::filesystem::path &path, IWatcher::EventHandler handler);
 IWatcher *GetFilesystemWatcher(void *opaque, const std::filesystem::path &path, IWatcher::EventHandler handler);
 
 } // namespace Filesystem