]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
chore: Rename source files to lowercase for consistency
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 9 Jun 2024 14:26:54 +0000 (16:26 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 30 Jun 2024 15:18:52 +0000 (17:18 +0200)
155 files changed:
src/ccache/CMakeLists.txt
src/ccache/argprocessing.cpp
src/ccache/argprocessing.hpp
src/ccache/args.cpp [moved from src/ccache/Args.cpp with 99% similarity]
src/ccache/args.hpp [moved from src/ccache/Args.hpp with 100% similarity]
src/ccache/argsinfo.hpp [moved from src/ccache/ArgsInfo.hpp with 99% similarity]
src/ccache/ccache.cpp
src/ccache/ccache.hpp
src/ccache/config.cpp [moved from src/ccache/Config.cpp with 99% similarity]
src/ccache/config.hpp [moved from src/ccache/Config.hpp with 99% similarity]
src/ccache/context.cpp [moved from src/ccache/Context.cpp with 97% similarity]
src/ccache/context.hpp [moved from src/ccache/Context.hpp with 91% similarity]
src/ccache/core/CMakeLists.txt
src/ccache/core/atomicfile.cpp [moved from src/ccache/core/AtomicFile.cpp with 97% similarity]
src/ccache/core/atomicfile.hpp [moved from src/ccache/core/AtomicFile.hpp with 100% similarity]
src/ccache/core/cacheentry.cpp [moved from src/ccache/core/CacheEntry.cpp with 97% similarity]
src/ccache/core/cacheentry.hpp [moved from src/ccache/core/CacheEntry.hpp with 98% similarity]
src/ccache/core/cacheentrydatareader.hpp [moved from src/ccache/core/CacheEntryDataReader.hpp with 100% similarity]
src/ccache/core/cacheentrydatawriter.hpp [moved from src/ccache/core/CacheEntryDataWriter.hpp with 100% similarity]
src/ccache/core/common.cpp
src/ccache/core/filerecompressor.cpp [moved from src/ccache/core/FileRecompressor.cpp with 96% similarity]
src/ccache/core/filerecompressor.hpp [moved from src/ccache/core/FileRecompressor.hpp with 97% similarity]
src/ccache/core/mainoptions.cpp
src/ccache/core/manifest.cpp [moved from src/ccache/core/Manifest.cpp with 98% similarity]
src/ccache/core/manifest.hpp [moved from src/ccache/core/Manifest.hpp with 95% similarity]
src/ccache/core/msvcshowincludesoutput.cpp [moved from src/ccache/core/MsvcShowIncludesOutput.cpp with 97% similarity]
src/ccache/core/msvcshowincludesoutput.hpp [moved from src/ccache/core/MsvcShowIncludesOutput.hpp with 97% similarity]
src/ccache/core/result.cpp [moved from src/ccache/core/Result.cpp with 96% similarity]
src/ccache/core/result.hpp [moved from src/ccache/core/Result.hpp with 98% similarity]
src/ccache/core/resultextractor.cpp [moved from src/ccache/core/ResultExtractor.cpp with 96% similarity]
src/ccache/core/resultextractor.hpp [moved from src/ccache/core/ResultExtractor.hpp with 98% similarity]
src/ccache/core/resultinspector.cpp [moved from src/ccache/core/ResultInspector.cpp with 96% similarity]
src/ccache/core/resultinspector.hpp [moved from src/ccache/core/ResultInspector.hpp with 97% similarity]
src/ccache/core/resultretriever.cpp [moved from src/ccache/core/ResultRetriever.cpp with 97% similarity]
src/ccache/core/resultretriever.hpp [moved from src/ccache/core/ResultRetriever.hpp with 97% similarity]
src/ccache/core/serializer.hpp [moved from src/ccache/core/Serializer.hpp with 97% similarity]
src/ccache/core/sloppiness.hpp [moved from src/ccache/core/Sloppiness.hpp with 98% similarity]
src/ccache/core/statistic.hpp [moved from src/ccache/core/Statistic.hpp with 100% similarity]
src/ccache/core/statistics.cpp [moved from src/ccache/core/Statistics.cpp with 99% similarity]
src/ccache/core/statistics.hpp [moved from src/ccache/core/Statistics.hpp with 95% similarity]
src/ccache/core/statisticscounters.cpp [moved from src/ccache/core/StatisticsCounters.cpp with 99% similarity]
src/ccache/core/statisticscounters.hpp [moved from src/ccache/core/StatisticsCounters.hpp with 95% similarity]
src/ccache/core/statslog.cpp [moved from src/ccache/core/StatsLog.cpp with 95% similarity]
src/ccache/core/statslog.hpp [moved from src/ccache/core/StatsLog.hpp with 96% similarity]
src/ccache/core/types.cpp
src/ccache/depfile.cpp [moved from src/ccache/Depfile.cpp with 98% similarity]
src/ccache/depfile.hpp [moved from src/ccache/Depfile.hpp with 100% similarity]
src/ccache/execute.cpp
src/ccache/execute.hpp
src/ccache/hash.cpp [moved from src/ccache/Hash.cpp with 98% similarity]
src/ccache/hash.hpp [moved from src/ccache/Hash.hpp with 100% similarity]
src/ccache/hashutil.cpp
src/ccache/hashutil.hpp
src/ccache/inodecache.cpp [moved from src/ccache/InodeCache.cpp with 98% similarity]
src/ccache/inodecache.hpp [moved from src/ccache/InodeCache.hpp with 96% similarity]
src/ccache/language.hpp
src/ccache/progressbar.cpp [moved from src/ccache/ProgressBar.cpp with 99% similarity]
src/ccache/progressbar.hpp [moved from src/ccache/ProgressBar.hpp with 100% similarity]
src/ccache/signalhandler.cpp [moved from src/ccache/SignalHandler.cpp with 98% similarity]
src/ccache/signalhandler.hpp [moved from src/ccache/SignalHandler.hpp with 100% similarity]
src/ccache/storage/CMakeLists.txt
src/ccache/storage/local/CMakeLists.txt
src/ccache/storage/local/localstorage.cpp [moved from src/ccache/storage/local/LocalStorage.cpp with 98% similarity]
src/ccache/storage/local/localstorage.hpp [moved from src/ccache/storage/local/LocalStorage.hpp with 95% similarity]
src/ccache/storage/local/statsfile.cpp [moved from src/ccache/storage/local/StatsFile.cpp with 96% similarity]
src/ccache/storage/local/statsfile.hpp [moved from src/ccache/storage/local/StatsFile.hpp with 97% similarity]
src/ccache/storage/local/util.hpp
src/ccache/storage/remote/CMakeLists.txt
src/ccache/storage/remote/filestorage.cpp [moved from src/ccache/storage/remote/FileStorage.cpp with 97% similarity]
src/ccache/storage/remote/filestorage.hpp [moved from src/ccache/storage/remote/FileStorage.hpp with 95% similarity]
src/ccache/storage/remote/httpstorage.cpp [moved from src/ccache/storage/remote/HttpStorage.cpp with 99% similarity]
src/ccache/storage/remote/httpstorage.hpp [moved from src/ccache/storage/remote/HttpStorage.hpp with 96% similarity]
src/ccache/storage/remote/redisstorage.cpp [moved from src/ccache/storage/remote/RedisStorage.cpp with 99% similarity]
src/ccache/storage/remote/redisstorage.hpp [moved from src/ccache/storage/remote/RedisStorage.hpp with 95% similarity]
src/ccache/storage/remote/remotestorage.cpp [moved from src/ccache/storage/remote/RemoteStorage.cpp with 97% similarity]
src/ccache/storage/remote/remotestorage.hpp [moved from src/ccache/storage/remote/RemoteStorage.hpp with 98% similarity]
src/ccache/storage/storage.cpp [moved from src/ccache/storage/Storage.cpp with 97% similarity]
src/ccache/storage/storage.hpp [moved from src/ccache/storage/Storage.hpp with 94% similarity]
src/ccache/test_lockfile.cpp
src/ccache/util/CMakeLists.txt
src/ccache/util/bitset.hpp [moved from src/ccache/util/BitSet.hpp with 100% similarity]
src/ccache/util/bytes.cpp [moved from src/ccache/util/Bytes.cpp with 99% similarity]
src/ccache/util/bytes.hpp [moved from src/ccache/util/Bytes.hpp with 100% similarity]
src/ccache/util/conversion.hpp
src/ccache/util/direntry.cpp [moved from src/ccache/util/DirEntry.cpp with 98% similarity]
src/ccache/util/direntry.hpp [moved from src/ccache/util/DirEntry.hpp with 99% similarity]
src/ccache/util/duration.hpp [moved from src/ccache/util/Duration.hpp with 100% similarity]
src/ccache/util/fd.hpp [moved from src/ccache/util/Fd.hpp with 98% similarity]
src/ccache/util/file.cpp
src/ccache/util/file.hpp
src/ccache/util/filestream.hpp [moved from src/ccache/util/FileStream.hpp with 98% similarity]
src/ccache/util/finalizer.hpp [moved from src/ccache/util/Finalizer.hpp with 100% similarity]
src/ccache/util/lockfile.cpp [moved from src/ccache/util/LockFile.cpp with 99% similarity]
src/ccache/util/lockfile.hpp [moved from src/ccache/util/LockFile.hpp with 94% similarity]
src/ccache/util/logging.cpp
src/ccache/util/longlivedlockfilemanager.cpp [moved from src/ccache/util/LongLivedLockFileManager.cpp with 98% similarity]
src/ccache/util/longlivedlockfilemanager.hpp [moved from src/ccache/util/LongLivedLockFileManager.hpp with 97% similarity]
src/ccache/util/memorymap.cpp [moved from src/ccache/util/MemoryMap.cpp with 99% similarity]
src/ccache/util/memorymap.hpp [moved from src/ccache/util/MemoryMap.hpp with 97% similarity]
src/ccache/util/noncopyable.hpp [moved from src/ccache/util/NonCopyable.hpp with 100% similarity]
src/ccache/util/path.cpp
src/ccache/util/path.hpp
src/ccache/util/pathstring.hpp [moved from src/ccache/util/PathString.hpp with 100% similarity]
src/ccache/util/string.hpp
src/ccache/util/temporaryfile.cpp [moved from src/ccache/util/TemporaryFile.cpp with 98% similarity]
src/ccache/util/temporaryfile.hpp [moved from src/ccache/util/TemporaryFile.hpp with 98% similarity]
src/ccache/util/texttable.cpp [moved from src/ccache/util/TextTable.cpp with 99% similarity]
src/ccache/util/texttable.hpp [moved from src/ccache/util/TextTable.hpp with 100% similarity]
src/ccache/util/threadpool.cpp [moved from src/ccache/util/ThreadPool.cpp with 96% similarity]
src/ccache/util/threadpool.hpp [moved from src/ccache/util/ThreadPool.hpp with 100% similarity]
src/ccache/util/time.hpp
src/ccache/util/timepoint.cpp [moved from src/ccache/util/TimePoint.cpp with 92% similarity]
src/ccache/util/timepoint.hpp [moved from src/ccache/util/TimePoint.hpp with 99% similarity]
src/ccache/util/timer.hpp [moved from src/ccache/util/Timer.hpp with 100% similarity]
src/ccache/util/tokenizer.cpp [moved from src/ccache/util/Tokenizer.cpp with 95% similarity]
src/ccache/util/tokenizer.hpp [moved from src/ccache/util/Tokenizer.hpp with 100% similarity]
src/ccache/util/umaskscope.cpp [moved from src/ccache/util/UmaskScope.cpp with 98% similarity]
src/ccache/util/umaskscope.hpp [moved from src/ccache/util/UmaskScope.hpp with 100% similarity]
src/ccache/util/xxh3_128.hpp [moved from src/ccache/util/XXH3_128.hpp with 98% similarity]
src/ccache/util/xxh3_64.hpp [moved from src/ccache/util/XXH3_64.hpp with 100% similarity]
src/ccache/util/zstd.hpp
unittest/CMakeLists.txt
unittest/test_argprocessing.cpp
unittest/test_args.cpp [moved from unittest/test_Args.cpp with 99% similarity]
unittest/test_bsdmkstemp.cpp
unittest/test_ccache.cpp
unittest/test_compression_types.cpp
unittest/test_config.cpp [moved from unittest/test_Config.cpp with 99% similarity]
unittest/test_core_atomicfile.cpp [moved from unittest/test_core_AtomicFile.cpp with 94% similarity]
unittest/test_core_common.cpp
unittest/test_core_msvcshowincludesoutput.cpp [moved from unittest/test_core_MsvcShowIncludesOutput.cpp with 98% similarity]
unittest/test_core_statistics.cpp [moved from unittest/test_core_Statistics.cpp with 94% similarity]
unittest/test_core_statisticscounters.cpp [moved from unittest/test_core_StatisticsCounters.cpp with 96% similarity]
unittest/test_core_statslog.cpp [moved from unittest/test_core_StatsLog.cpp with 96% similarity]
unittest/test_depfile.cpp [moved from unittest/test_Depfile.cpp with 99% similarity]
unittest/test_hash.cpp [moved from unittest/test_Hash.cpp with 98% similarity]
unittest/test_hashutil.cpp
unittest/test_inodecache.cpp [moved from unittest/test_InodeCache.cpp with 96% similarity]
unittest/test_storage_local_statsfile.cpp [moved from unittest/test_storage_local_StatsFile.cpp with 96% similarity]
unittest/test_storage_local_util.cpp
unittest/test_util_bitset.cpp [moved from unittest/test_util_BitSet.cpp with 97% similarity]
unittest/test_util_bytes.cpp [moved from unittest/test_util_Bytes.cpp with 99% similarity]
unittest/test_util_direntry.cpp [moved from unittest/test_util_DirEntry.cpp with 99% similarity]
unittest/test_util_duration.cpp [moved from unittest/test_util_Duration.cpp with 98% similarity]
unittest/test_util_file.cpp
unittest/test_util_lockfile.cpp [moved from unittest/test_util_LockFile.cpp with 97% similarity]
unittest/test_util_path.cpp
unittest/test_util_texttable.cpp [moved from unittest/test_util_TextTable.cpp with 98% similarity]
unittest/test_util_timepoint.cpp [moved from unittest/test_util_TimePoint.cpp with 98% similarity]
unittest/test_util_tokenizer.cpp [moved from unittest/test_util_Tokenizer.cpp with 100% similarity]
unittest/test_util_xxh3_128.cpp [moved from unittest/test_util_XXH3_128.cpp with 97% similarity]
unittest/test_util_xxh3_64.cpp [moved from unittest/test_util_XXH3_64.cpp with 97% similarity]
unittest/test_util_zstd.cpp
unittest/testutil.cpp [moved from unittest/TestUtil.cpp with 95% similarity]
unittest/testutil.hpp [moved from unittest/TestUtil.hpp with 100% similarity]

index a80f41ebf1619be5daad2f8f01d88966c8f67c11..ddaf0f5e5f02ce3b7bcb64ea5afeab8a7fc60d4f 100644 (file)
@@ -1,26 +1,26 @@
 set(
   source_files
-  Args.cpp
-  Config.cpp
-  Context.cpp
-  Depfile.cpp
-  Hash.cpp
-  ProgressBar.cpp
   argprocessing.cpp
+  args.cpp
   ccache.cpp
   compopt.cpp
+  config.cpp
+  context.cpp
+  depfile.cpp
   execute.cpp
+  hash.cpp
   hashutil.cpp
   language.cpp
+  progressbar.cpp
   version.cpp
 )
 
 if(INODE_CACHE_SUPPORTED)
-  list(APPEND source_files InodeCache.cpp)
+  list(APPEND source_files inodecache.cpp)
 endif()
 
 if(NOT WIN32)
-  list(APPEND source_files SignalHandler.cpp)
+  list(APPEND source_files signalhandler.cpp)
 endif()
 
 file(GLOB headers *.hpp)
index 8ecd6c5416f72dd8cd168ab70e7b8d93d1fe6e56..c72dcd2f7104c1992ec1362b476fbd7d17f5e7b3 100644 (file)
 
 #include "argprocessing.hpp"
 
-#include <ccache/Args.hpp>
-#include <ccache/ArgsInfo.hpp>
-#include <ccache/Context.hpp>
-#include <ccache/Depfile.hpp>
+#include <ccache/args.hpp>
+#include <ccache/argsinfo.hpp>
 #include <ccache/compopt.hpp>
+#include <ccache/context.hpp>
 #include <ccache/core/common.hpp>
+#include <ccache/depfile.hpp>
 #include <ccache/language.hpp>
-#include <ccache/util/DirEntry.hpp>
-#include <ccache/util/Tokenizer.hpp>
 #include <ccache/util/assertions.hpp>
+#include <ccache/util/direntry.hpp>
 #include <ccache/util/filesystem.hpp>
 #include <ccache/util/format.hpp>
 #include <ccache/util/logging.hpp>
 #include <ccache/util/path.hpp>
 #include <ccache/util/string.hpp>
+#include <ccache/util/tokenizer.hpp>
 #include <ccache/util/wincompat.hpp>
 
 #ifdef HAVE_UNISTD_H
index 506e6d249cbe3475f39f7d2b2bcac471d1f3a953..61edd6907ab2a26a1f91ce98ff439b4b245dbe02 100644 (file)
@@ -18,8 +18,8 @@
 
 #pragma once
 
-#include <ccache/Args.hpp>
-#include <ccache/core/Statistic.hpp>
+#include <ccache/args.hpp>
+#include <ccache/core/statistic.hpp>
 
 #include <tl/expected.hpp>
 
similarity index 99%
rename from src/ccache/Args.cpp
rename to src/ccache/args.cpp
index 795dd68987a4b731220273230cd766b112b6e3dc..ff77048993103ed3abe32dc7783e370b69a81938 100644 (file)
@@ -16,7 +16,7 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "Args.hpp"
+#include "args.hpp"
 
 #include <ccache/core/exceptions.hpp>
 #include <ccache/util/file.hpp>
similarity index 100%
rename from src/ccache/Args.hpp
rename to src/ccache/args.hpp
similarity index 99%
rename from src/ccache/ArgsInfo.hpp
rename to src/ccache/argsinfo.hpp
index c733b218425fbbd01183d24478ba7761afc27b0c..d71d66f80eab4664f60dd11b34411d3b54a1e818 100644 (file)
@@ -18,7 +18,7 @@
 
 #pragma once
 
-#include <ccache/Args.hpp>
+#include <ccache/args.hpp>
 
 #include <filesystem>
 #include <optional>
index a250d4c46cad9f9ccbdc8b57d93078a14311bdf4..f9ab687f0d9e243d0d707253f4b3321de00e90e7 100644 (file)
 
 #include "ccache.hpp"
 
-#include <ccache/Args.hpp>
-#include <ccache/ArgsInfo.hpp>
-#include <ccache/Context.hpp>
-#include <ccache/Depfile.hpp>
-#include <ccache/Hash.hpp>
-#include <ccache/SignalHandler.hpp>
 #include <ccache/argprocessing.hpp>
+#include <ccache/args.hpp>
+#include <ccache/argsinfo.hpp>
 #include <ccache/compopt.hpp>
-#include <ccache/core/CacheEntry.hpp>
-#include <ccache/core/Manifest.hpp>
-#include <ccache/core/MsvcShowIncludesOutput.hpp>
-#include <ccache/core/Result.hpp>
-#include <ccache/core/ResultRetriever.hpp>
-#include <ccache/core/Sloppiness.hpp>
-#include <ccache/core/Statistic.hpp>
-#include <ccache/core/Statistics.hpp>
-#include <ccache/core/StatisticsCounters.hpp>
-#include <ccache/core/StatsLog.hpp>
+#include <ccache/context.hpp>
+#include <ccache/core/cacheentry.hpp>
 #include <ccache/core/common.hpp>
 #include <ccache/core/exceptions.hpp>
 #include <ccache/core/mainoptions.hpp>
+#include <ccache/core/manifest.hpp>
+#include <ccache/core/msvcshowincludesoutput.hpp>
+#include <ccache/core/result.hpp>
+#include <ccache/core/resultretriever.hpp>
+#include <ccache/core/sloppiness.hpp>
+#include <ccache/core/statistic.hpp>
+#include <ccache/core/statistics.hpp>
+#include <ccache/core/statisticscounters.hpp>
+#include <ccache/core/statslog.hpp>
 #include <ccache/core/types.hpp>
+#include <ccache/depfile.hpp>
 #include <ccache/execute.hpp>
+#include <ccache/hash.hpp>
 #include <ccache/hashutil.hpp>
-#include <ccache/storage/Storage.hpp>
-#include <ccache/util/Bytes.hpp>
-#include <ccache/util/DirEntry.hpp>
-#include <ccache/util/Duration.hpp>
-#include <ccache/util/Fd.hpp>
-#include <ccache/util/FileStream.hpp>
-#include <ccache/util/Finalizer.hpp>
-#include <ccache/util/TemporaryFile.hpp>
-#include <ccache/util/TimePoint.hpp>
-#include <ccache/util/Tokenizer.hpp>
-#include <ccache/util/UmaskScope.hpp>
+#include <ccache/signalhandler.hpp>
+#include <ccache/storage/storage.hpp>
 #include <ccache/util/assertions.hpp>
+#include <ccache/util/bytes.hpp>
 #include <ccache/util/conversion.hpp>
+#include <ccache/util/direntry.hpp>
+#include <ccache/util/duration.hpp>
 #include <ccache/util/environment.hpp>
 #include <ccache/util/expected.hpp>
+#include <ccache/util/fd.hpp>
 #include <ccache/util/file.hpp>
+#include <ccache/util/filestream.hpp>
 #include <ccache/util/filesystem.hpp>
+#include <ccache/util/finalizer.hpp>
 #include <ccache/util/format.hpp>
 #include <ccache/util/logging.hpp>
 #include <ccache/util/path.hpp>
 #include <ccache/util/process.hpp>
 #include <ccache/util/string.hpp>
+#include <ccache/util/temporaryfile.hpp>
 #include <ccache/util/time.hpp>
+#include <ccache/util/timepoint.hpp>
+#include <ccache/util/tokenizer.hpp>
+#include <ccache/util/umaskscope.hpp>
 #include <ccache/util/wincompat.hpp>
 
 #include <fcntl.h>
index 2377b381ff57769a9b367f2c005b63e5689926d1..bb23027ef3311db8370e6a14cf121941818ea659 100644 (file)
@@ -19,8 +19,8 @@
 
 #pragma once
 
-#include <ccache/Args.hpp>
-#include <ccache/Config.hpp>
+#include <ccache/args.hpp>
+#include <ccache/config.hpp>
 
 #include <filesystem>
 #include <functional>
similarity index 99%
rename from src/ccache/Config.cpp
rename to src/ccache/config.cpp
index 9a34a6f83e9a7893f5439e1d9f6988e0eecd2805..e9e78dacee5b169f2e598824539368aad4b8d623 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "Config.hpp"
+#include "config.hpp"
 
-#include <ccache/core/AtomicFile.hpp>
-#include <ccache/core/Sloppiness.hpp>
+#include <ccache/core/atomicfile.hpp>
 #include <ccache/core/common.hpp>
 #include <ccache/core/exceptions.hpp>
-#include <ccache/util/DirEntry.hpp>
-#include <ccache/util/Tokenizer.hpp>
-#include <ccache/util/UmaskScope.hpp>
+#include <ccache/core/sloppiness.hpp>
 #include <ccache/util/assertions.hpp>
+#include <ccache/util/direntry.hpp>
 #include <ccache/util/environment.hpp>
 #include <ccache/util/expected.hpp>
 #include <ccache/util/file.hpp>
@@ -33,6 +31,8 @@
 #include <ccache/util/format.hpp>
 #include <ccache/util/path.hpp>
 #include <ccache/util/string.hpp>
+#include <ccache/util/tokenizer.hpp>
+#include <ccache/util/umaskscope.hpp>
 #include <ccache/util/wincompat.hpp>
 
 #ifdef HAVE_PWD_H
similarity index 99%
rename from src/ccache/Config.hpp
rename to src/ccache/config.hpp
index 84c529145f868975f3343d54441d34254771acef..74d2b3ec0c2389cdcdba0c84b28639b8eec0a4ab 100644 (file)
@@ -18,8 +18,8 @@
 
 #pragma once
 
-#include <ccache/core/Sloppiness.hpp>
-#include <ccache/util/NonCopyable.hpp>
+#include <ccache/core/sloppiness.hpp>
+#include <ccache/util/noncopyable.hpp>
 #include <ccache/util/string.hpp>
 
 #include <sys/types.h>
similarity index 97%
rename from src/ccache/Context.cpp
rename to src/ccache/context.cpp
index 4f23268df0e2a435ca833b77b6f7e43661dbd22f..b59cd95eee89998c965b15c7b0991c0861ef465a 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "Context.hpp"
+#include "context.hpp"
 
-#include <ccache/SignalHandler.hpp>
 #include <ccache/hashutil.hpp>
-#include <ccache/util/TimePoint.hpp>
+#include <ccache/signalhandler.hpp>
 #include <ccache/util/file.hpp>
 #include <ccache/util/filesystem.hpp>
 #include <ccache/util/logging.hpp>
 #include <ccache/util/path.hpp>
 #include <ccache/util/process.hpp>
 #include <ccache/util/string.hpp>
+#include <ccache/util/timepoint.hpp>
 #include <ccache/util/wincompat.hpp>
 
 #ifdef HAVE_UNISTD_H
similarity index 91%
rename from src/ccache/Context.hpp
rename to src/ccache/context.hpp
index aad606b961552fa14e4a579d713f8ff300ae5ece..71fa71652602ef03fcc4ddf3e97258abe62ccba1 100644 (file)
 
 #pragma once
 
-#include <ccache/Args.hpp>
-#include <ccache/ArgsInfo.hpp>
-#include <ccache/Config.hpp>
-#include <ccache/Hash.hpp>
-#include <ccache/core/Manifest.hpp>
-#include <ccache/storage/Storage.hpp>
-#include <ccache/util/Bytes.hpp>
-#include <ccache/util/FileStream.hpp>
-#include <ccache/util/NonCopyable.hpp>
-#include <ccache/util/TimePoint.hpp>
+#include <ccache/args.hpp>
+#include <ccache/argsinfo.hpp>
+#include <ccache/config.hpp>
+#include <ccache/core/manifest.hpp>
+#include <ccache/hash.hpp>
+#include <ccache/storage/storage.hpp>
+#include <ccache/util/bytes.hpp>
+#include <ccache/util/filestream.hpp>
+#include <ccache/util/noncopyable.hpp>
+#include <ccache/util/timepoint.hpp>
 
 #ifdef INODE_CACHE_SUPPORTED
-#  include <ccache/InodeCache.hpp>
+#  include <ccache/inodecache.hpp>
 #endif
 
 #include <sys/types.h>
index eadb9f92b17d5dffa77a687c94ba98fdda718e69..70c9ed9a1c647db25fb5109578a79c641bbfbf90 100644 (file)
@@ -1,19 +1,19 @@
 set(
   sources
-  AtomicFile.cpp
-  CacheEntry.cpp
-  FileRecompressor.cpp
-  Manifest.cpp
-  MsvcShowIncludesOutput.cpp
-  Result.cpp
-  ResultExtractor.cpp
-  ResultInspector.cpp
-  ResultRetriever.cpp
-  Statistics.cpp
-  StatisticsCounters.cpp
-  StatsLog.cpp
+  atomicfile.cpp
+  cacheentry.cpp
   common.cpp
+  filerecompressor.cpp
   mainoptions.cpp
+  manifest.cpp
+  msvcshowincludesoutput.cpp
+  result.cpp
+  resultextractor.cpp
+  resultinspector.cpp
+  resultretriever.cpp
+  statistics.cpp
+  statisticscounters.cpp
+  statslog.cpp
   types.cpp
 )
 
similarity index 97%
rename from src/ccache/core/AtomicFile.cpp
rename to src/ccache/core/atomicfile.cpp
index 5e22295bd5fde9d2346d15c68792b07b3c7d51ad..65e2918f8cd5f2c101b535d8c7e36d33806debb1 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "AtomicFile.hpp"
+#include "atomicfile.hpp"
 
 #include <ccache/core/exceptions.hpp>
-#include <ccache/util/TemporaryFile.hpp>
 #include <ccache/util/assertions.hpp>
 #include <ccache/util/expected.hpp>
 #include <ccache/util/file.hpp>
 #include <ccache/util/filesystem.hpp>
 #include <ccache/util/format.hpp>
+#include <ccache/util/temporaryfile.hpp>
 
 namespace fs = util::filesystem;
 
similarity index 97%
rename from src/ccache/core/CacheEntry.cpp
rename to src/ccache/core/cacheentry.cpp
index 335e05317a3abad9283bba52ee7a7c4858f5b21b..6b86aa32aeb4b6dd11d2a8f9ce91bfee212a504e 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "CacheEntry.hpp"
+#include "cacheentry.hpp"
 
 #include <ccache/ccache.hpp>
-#include <ccache/core/CacheEntryDataReader.hpp>
-#include <ccache/core/CacheEntryDataWriter.hpp>
-#include <ccache/core/Result.hpp>
+#include <ccache/core/cacheentrydatareader.hpp>
+#include <ccache/core/cacheentrydatawriter.hpp>
 #include <ccache/core/exceptions.hpp>
+#include <ccache/core/result.hpp>
 #include <ccache/core/types.hpp>
-#include <ccache/util/TimePoint.hpp>
-#include <ccache/util/XXH3_128.hpp>
 #include <ccache/util/expected.hpp>
 #include <ccache/util/file.hpp>
 #include <ccache/util/filesystem.hpp>
 #include <ccache/util/format.hpp>
 #include <ccache/util/logging.hpp>
+#include <ccache/util/timepoint.hpp>
+#include <ccache/util/xxh3_128.hpp>
 #include <ccache/util/zstd.hpp>
 
 #include <cstring>
similarity index 98%
rename from src/ccache/core/CacheEntry.hpp
rename to src/ccache/core/cacheentry.hpp
index b5777296695f02877521f1edfb5fae3c0bbbc584..e429cf0f47a15282fa184e314cfd644158f3fd3d 100644 (file)
@@ -18,9 +18,9 @@
 
 #pragma once
 
-#include <ccache/core/Serializer.hpp>
+#include <ccache/core/serializer.hpp>
 #include <ccache/core/types.hpp>
-#include <ccache/util/Bytes.hpp>
+#include <ccache/util/bytes.hpp>
 
 #include <nonstd/span.hpp>
 
index eddb7866c1a4ed3570b0e2973a438910d584126a..78c733e25007e73f39ab0c57380e2d85da99e7e2 100644 (file)
 
 #include "common.hpp"
 
-#include <ccache/Context.hpp>
+#include <ccache/context.hpp>
 #include <ccache/core/exceptions.hpp>
-#include <ccache/util/Finalizer.hpp>
-#include <ccache/util/Tokenizer.hpp>
 #include <ccache/util/expected.hpp>
 #include <ccache/util/file.hpp>
 #include <ccache/util/filesystem.hpp>
+#include <ccache/util/finalizer.hpp>
 #include <ccache/util/format.hpp>
 #include <ccache/util/path.hpp>
+#include <ccache/util/tokenizer.hpp>
 
 using IncludeDelimiter = util::Tokenizer::IncludeDelimiter;
 
similarity index 96%
rename from src/ccache/core/FileRecompressor.cpp
rename to src/ccache/core/filerecompressor.cpp
index cb3f6fea11970edecf97f8294fcff8aa7b0d2c42..769d539d3b56a0a2a5a12af48b050978132ab61b 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "FileRecompressor.hpp"
+#include "filerecompressor.hpp"
 
-#include <ccache/core/AtomicFile.hpp>
-#include <ccache/core/CacheEntry.hpp>
+#include <ccache/core/atomicfile.hpp>
+#include <ccache/core/cacheentry.hpp>
 #include <ccache/core/exceptions.hpp>
 #include <ccache/util/expected.hpp>
 #include <ccache/util/file.hpp>
similarity index 97%
rename from src/ccache/core/FileRecompressor.hpp
rename to src/ccache/core/filerecompressor.hpp
index bf2d6d1159ab8cb42b32f1b30a82ba732c364cfd..b19c2a2557bfcc03e5004c5db504a6de1e999b58 100644 (file)
@@ -18,7 +18,7 @@
 
 #pragma once
 
-#include <ccache/util/DirEntry.hpp>
+#include <ccache/util/direntry.hpp>
 
 #include <atomic>
 #include <cstdint>
index 7faaddd8dc9b1f54f421e0634f2b5fcd17621f36..f86e0b8c0f6ada9f5277d05c226794ee603346a0 100644 (file)
 
 #include "mainoptions.hpp"
 
-#include <ccache/Config.hpp>
-#include <ccache/Hash.hpp>
-#include <ccache/InodeCache.hpp>
-#include <ccache/ProgressBar.hpp>
 #include <ccache/ccache.hpp>
-#include <ccache/core/CacheEntry.hpp>
-#include <ccache/core/FileRecompressor.hpp>
-#include <ccache/core/Manifest.hpp>
-#include <ccache/core/Result.hpp>
-#include <ccache/core/ResultExtractor.hpp>
-#include <ccache/core/ResultInspector.hpp>
-#include <ccache/core/Statistics.hpp>
-#include <ccache/core/StatsLog.hpp>
+#include <ccache/config.hpp>
+#include <ccache/core/cacheentry.hpp>
 #include <ccache/core/exceptions.hpp>
-#include <ccache/storage/Storage.hpp>
-#include <ccache/storage/local/LocalStorage.hpp>
-#include <ccache/util/Fd.hpp>
-#include <ccache/util/FileStream.hpp>
-#include <ccache/util/TemporaryFile.hpp>
-#include <ccache/util/TextTable.hpp>
-#include <ccache/util/ThreadPool.hpp>
-#include <ccache/util/UmaskScope.hpp>
-#include <ccache/util/XXH3_128.hpp>
+#include <ccache/core/filerecompressor.hpp>
+#include <ccache/core/manifest.hpp>
+#include <ccache/core/result.hpp>
+#include <ccache/core/resultextractor.hpp>
+#include <ccache/core/resultinspector.hpp>
+#include <ccache/core/statistics.hpp>
+#include <ccache/core/statslog.hpp>
+#include <ccache/hash.hpp>
+#include <ccache/inodecache.hpp>
+#include <ccache/progressbar.hpp>
+#include <ccache/storage/local/localstorage.hpp>
+#include <ccache/storage/storage.hpp>
 #include <ccache/util/assertions.hpp>
 #include <ccache/util/cpu.hpp>
 #include <ccache/util/environment.hpp>
 #include <ccache/util/expected.hpp>
+#include <ccache/util/fd.hpp>
 #include <ccache/util/file.hpp>
+#include <ccache/util/filestream.hpp>
 #include <ccache/util/filesystem.hpp>
 #include <ccache/util/format.hpp>
 #include <ccache/util/logging.hpp>
 #include <ccache/util/path.hpp>
 #include <ccache/util/string.hpp>
+#include <ccache/util/temporaryfile.hpp>
+#include <ccache/util/texttable.hpp>
+#include <ccache/util/threadpool.hpp>
+#include <ccache/util/umaskscope.hpp>
+#include <ccache/util/xxh3_128.hpp>
 
 #include <fcntl.h>
 
similarity index 98%
rename from src/ccache/core/Manifest.cpp
rename to src/ccache/core/manifest.cpp
index e2b48d2d868bc2b070726fd716e6b2e1d9c533a9..48a5d184c25938a091f9a1c5859232d41ef2c992 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "Manifest.hpp"
+#include "manifest.hpp"
 
-#include <ccache/Context.hpp>
-#include <ccache/Hash.hpp>
-#include <ccache/core/CacheEntryDataReader.hpp>
-#include <ccache/core/CacheEntryDataWriter.hpp>
+#include <ccache/context.hpp>
+#include <ccache/core/cacheentrydatareader.hpp>
+#include <ccache/core/cacheentrydatawriter.hpp>
 #include <ccache/core/exceptions.hpp>
+#include <ccache/hash.hpp>
 #include <ccache/hashutil.hpp>
-#include <ccache/util/XXH3_64.hpp>
 #include <ccache/util/format.hpp>
 #include <ccache/util/logging.hpp>
 #include <ccache/util/string.hpp>
+#include <ccache/util/xxh3_64.hpp>
 
 // Manifest data format
 // ====================
similarity index 95%
rename from src/ccache/core/Manifest.hpp
rename to src/ccache/core/manifest.hpp
index a46982edd6e89e0f640a79bb7ad2e0549e414544..eae79089acf52134ecf4c0dba4d73b05221c3964 100644 (file)
 
 #pragma once
 
-#include <ccache/Hash.hpp>
-#include <ccache/core/Serializer.hpp>
-#include <ccache/util/Bytes.hpp>
-#include <ccache/util/TimePoint.hpp>
+#include <ccache/core/serializer.hpp>
+#include <ccache/hash.hpp>
+#include <ccache/util/bytes.hpp>
+#include <ccache/util/timepoint.hpp>
 
 #include <nonstd/span.hpp>
 
similarity index 97%
rename from src/ccache/core/MsvcShowIncludesOutput.cpp
rename to src/ccache/core/msvcshowincludesoutput.cpp
index 7170935b313314e5c3aee593d7e475b9883290f8..9ec01fe44236465062f16268f484e0104a271789 100644 (file)
@@ -16,9 +16,9 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "MsvcShowIncludesOutput.hpp"
+#include "msvcshowincludesoutput.hpp"
 
-#include <ccache/Context.hpp>
+#include <ccache/context.hpp>
 #include <ccache/util/string.hpp>
 
 namespace core::MsvcShowIncludesOutput {
similarity index 97%
rename from src/ccache/core/MsvcShowIncludesOutput.hpp
rename to src/ccache/core/msvcshowincludesoutput.hpp
index ac1cc8a6f57548839ee2d01ddd2e6871903b30d8..0b7bc08f67fa7b4a8d2582b22f24cd2f0fedcbda 100644 (file)
@@ -18,7 +18,7 @@
 
 #pragma once
 
-#include <ccache/util/Bytes.hpp>
+#include <ccache/util/bytes.hpp>
 
 #include <string_view>
 #include <vector>
similarity index 96%
rename from src/ccache/core/Result.cpp
rename to src/ccache/core/result.cpp
index 7bcb44a599106edc66f27f4c7c27d20c87793cc2..701c92203fb8d660c9ad6415cb35468490b29e23 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "Result.hpp"
+#include "result.hpp"
 
-#include <ccache/Config.hpp>
-#include <ccache/Context.hpp>
 #include <ccache/ccache.hpp>
-#include <ccache/core/CacheEntryDataReader.hpp>
-#include <ccache/core/CacheEntryDataWriter.hpp>
-#include <ccache/core/Statistic.hpp>
+#include <ccache/config.hpp>
+#include <ccache/context.hpp>
+#include <ccache/core/cacheentrydatareader.hpp>
+#include <ccache/core/cacheentrydatawriter.hpp>
 #include <ccache/core/exceptions.hpp>
-#include <ccache/util/Bytes.hpp>
-#include <ccache/util/DirEntry.hpp>
-#include <ccache/util/FileStream.hpp>
+#include <ccache/core/statistic.hpp>
+#include <ccache/util/bytes.hpp>
+#include <ccache/util/direntry.hpp>
 #include <ccache/util/expected.hpp>
 #include <ccache/util/file.hpp>
+#include <ccache/util/filestream.hpp>
 #include <ccache/util/filesystem.hpp>
 #include <ccache/util/format.hpp>
 #include <ccache/util/logging.hpp>
similarity index 98%
rename from src/ccache/core/Result.hpp
rename to src/ccache/core/result.hpp
index 9edc5ec510a03c0b25b8fbbc2077124e62638720..6645feb6972167906dc021a873d6f3a7e615f759 100644 (file)
@@ -18,8 +18,8 @@
 
 #pragma once
 
-#include <ccache/core/Serializer.hpp>
-#include <ccache/util/Bytes.hpp>
+#include <ccache/core/serializer.hpp>
+#include <ccache/util/bytes.hpp>
 
 #include <nonstd/span.hpp>
 
similarity index 96%
rename from src/ccache/core/ResultExtractor.cpp
rename to src/ccache/core/resultextractor.cpp
index 18c58d70024697ecad66c2fa7caaa3af0b87aba1..339df2190e8ade614a2976665abf6d0ec8cba2ec 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "ResultExtractor.hpp"
+#include "resultextractor.hpp"
 
 #include <ccache/core/exceptions.hpp>
-#include <ccache/util/Bytes.hpp>
-#include <ccache/util/DirEntry.hpp>
+#include <ccache/util/bytes.hpp>
+#include <ccache/util/direntry.hpp>
 #include <ccache/util/expected.hpp>
 #include <ccache/util/file.hpp>
 #include <ccache/util/format.hpp>
similarity index 98%
rename from src/ccache/core/ResultExtractor.hpp
rename to src/ccache/core/resultextractor.hpp
index b840ba81efe72f4ab920a9c773acf88736a7b9ba..50af8b9e35565868e76a98d4512c0bf990009a3b 100644 (file)
@@ -18,7 +18,7 @@
 
 #pragma once
 
-#include <ccache/core/Result.hpp>
+#include <ccache/core/result.hpp>
 
 #include <nonstd/span.hpp>
 
similarity index 96%
rename from src/ccache/core/ResultInspector.cpp
rename to src/ccache/core/resultinspector.cpp
index aaa8165633301d066f16a5c6872f76015a988d92..62fc6259a802270828947631293742c0407685fa 100644 (file)
@@ -16,9 +16,9 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "ResultInspector.hpp"
+#include "resultinspector.hpp"
 
-#include <ccache/Context.hpp>
+#include <ccache/context.hpp>
 #include <ccache/util/format.hpp>
 #include <ccache/util/logging.hpp>
 
similarity index 97%
rename from src/ccache/core/ResultInspector.hpp
rename to src/ccache/core/resultinspector.hpp
index a1b132bcf6c3e17f1aeb184fae80df5bdcf9c5c0..49b3368bcb50d822fff0d89689b6d45a69e9d989 100644 (file)
@@ -18,7 +18,7 @@
 
 #pragma once
 
-#include <ccache/core/Result.hpp>
+#include <ccache/core/result.hpp>
 
 #include <nonstd/span.hpp>
 
similarity index 97%
rename from src/ccache/core/ResultRetriever.cpp
rename to src/ccache/core/resultretriever.cpp
index a4954e9fcddfafb7ee1c3c71403bf66bb178069d..9547109c4894bafad24212bae7ddf2645bee9741 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "ResultRetriever.hpp"
+#include "resultretriever.hpp"
 
-#include <ccache/Context.hpp>
-#include <ccache/Depfile.hpp>
-#include <ccache/core/MsvcShowIncludesOutput.hpp>
+#include <ccache/context.hpp>
 #include <ccache/core/common.hpp>
 #include <ccache/core/exceptions.hpp>
-#include <ccache/util/DirEntry.hpp>
-#include <ccache/util/Fd.hpp>
+#include <ccache/core/msvcshowincludesoutput.hpp>
+#include <ccache/depfile.hpp>
+#include <ccache/util/direntry.hpp>
 #include <ccache/util/expected.hpp>
+#include <ccache/util/fd.hpp>
 #include <ccache/util/file.hpp>
 #include <ccache/util/filesystem.hpp>
 #include <ccache/util/format.hpp>
similarity index 97%
rename from src/ccache/core/ResultRetriever.hpp
rename to src/ccache/core/resultretriever.hpp
index 704ac574e8742d2cde396fc6448666b8d43d41c0..ab8ee0fbd774c78f1b4e9a0d234e0d74b430abe2 100644 (file)
@@ -18,9 +18,9 @@
 
 #pragma once
 
-#include <ccache/Hash.hpp>
-#include <ccache/core/Result.hpp>
 #include <ccache/core/exceptions.hpp>
+#include <ccache/core/result.hpp>
+#include <ccache/hash.hpp>
 
 #include <nonstd/span.hpp>
 
similarity index 97%
rename from src/ccache/core/Serializer.hpp
rename to src/ccache/core/serializer.hpp
index 01b3860d498f521d9db2ba7cd3bf1550b8ff923d..d324fdfc59362bfa3c05044dd0b9b84af802fee3 100644 (file)
@@ -18,7 +18,7 @@
 
 #pragma once
 
-#include <ccache/util/Bytes.hpp>
+#include <ccache/util/bytes.hpp>
 
 #include <nonstd/span.hpp>
 
similarity index 98%
rename from src/ccache/core/Sloppiness.hpp
rename to src/ccache/core/sloppiness.hpp
index 98f0fe4be9f1d924d9bcae85572b88224b485fab..b1611378673f42a385df0a375e12f65e32813d3d 100644 (file)
@@ -18,7 +18,7 @@
 
 #pragma once
 
-#include <ccache/util/BitSet.hpp>
+#include <ccache/util/bitset.hpp>
 
 #include <cstdint>
 #include <string>
similarity index 99%
rename from src/ccache/core/Statistics.cpp
rename to src/ccache/core/statistics.cpp
index 417d7184d982b832b7122d4894bc47fc0c51c0b4..61951d13c3ee981ef71500a0b43d59e9fed41879 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "Statistics.hpp"
+#include "statistics.hpp"
 
-#include <ccache/Config.hpp>
-#include <ccache/util/TextTable.hpp>
+#include <ccache/config.hpp>
 #include <ccache/util/format.hpp>
 #include <ccache/util/logging.hpp>
 #include <ccache/util/path.hpp>
 #include <ccache/util/string.hpp>
+#include <ccache/util/texttable.hpp>
 #include <ccache/util/time.hpp>
 
 #include <algorithm>
similarity index 95%
rename from src/ccache/core/Statistics.hpp
rename to src/ccache/core/statistics.hpp
index 27d4b3537d057da2c93cd6324e3d5533d9106b43..33747d085305a5d12ca87d14bbb6369385115991 100644 (file)
@@ -18,9 +18,9 @@
 
 #pragma once
 
-#include <ccache/core/Statistic.hpp>
-#include <ccache/core/StatisticsCounters.hpp>
-#include <ccache/util/TimePoint.hpp>
+#include <ccache/core/statistic.hpp>
+#include <ccache/core/statisticscounters.hpp>
+#include <ccache/util/timepoint.hpp>
 
 #include <cstdint>
 #include <string>
similarity index 99%
rename from src/ccache/core/StatisticsCounters.cpp
rename to src/ccache/core/statisticscounters.cpp
index 147efade7b87da83eaeef8d05a3d5d9f8ce57618..6c49996ae04e631e77aa010b98e1da29e0a1edc0 100644 (file)
@@ -16,7 +16,7 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "StatisticsCounters.hpp"
+#include "statisticscounters.hpp"
 
 #include <ccache/util/assertions.hpp>
 
similarity index 95%
rename from src/ccache/core/StatisticsCounters.hpp
rename to src/ccache/core/statisticscounters.hpp
index d886073e7a8f8b807e064e5afef906d087fd8790..8e6e90dfc47b2809ffa45c7b28b7571e3f54e491 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010-2023 Joel Rosdahl and other contributors
+// Copyright (C) 2010-2024 Joel Rosdahl and other contributors
 //
 // See doc/AUTHORS.adoc for a complete list of contributors.
 //
@@ -18,7 +18,7 @@
 
 #pragma once
 
-#include "Statistic.hpp"
+#include <ccache/core/statistic.hpp>
 
 #include <cstddef>
 #include <cstdint>
similarity index 95%
rename from src/ccache/core/StatsLog.cpp
rename to src/ccache/core/statslog.cpp
index 31862155bee3071c284b9828975a03fd54e52843..6661bc9aecdcc3e20e531be63f620c89d56cd868 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "StatsLog.hpp"
+#include "statslog.hpp"
 
-#include <ccache/core/Statistics.hpp>
-#include <ccache/util/FileStream.hpp>
+#include <ccache/core/statistics.hpp>
+#include <ccache/util/filestream.hpp>
 #include <ccache/util/filesystem.hpp>
 #include <ccache/util/format.hpp>
 #include <ccache/util/logging.hpp>
similarity index 96%
rename from src/ccache/core/StatsLog.hpp
rename to src/ccache/core/statslog.hpp
index f85652e67065b291526e1c8b39cf6250af5e2152..7d849f255cbd188928e4688231dbe84e6c1726de 100644 (file)
@@ -18,7 +18,7 @@
 
 #pragma once
 
-#include "StatisticsCounters.hpp"
+#include <ccache/core/statisticscounters.hpp>
 
 #include <filesystem>
 #include <string>
index 3a49b3f7c4554dcb5eed22d2f6b4ab7a2b21ad0b..3333a795878f241ddf2583fa8c48384eaa43fd4d 100644 (file)
@@ -18,7 +18,7 @@
 
 #include "types.hpp"
 
-#include <ccache/Config.hpp>
+#include <ccache/config.hpp>
 #include <ccache/core/exceptions.hpp>
 #include <ccache/util/assertions.hpp>
 #include <ccache/util/format.hpp>
similarity index 98%
rename from src/ccache/Depfile.cpp
rename to src/ccache/depfile.cpp
index 6018bdc001f86c37c7d6a7c443ca0a574d2219e5..5ebf23228f9d81230694e7e74db25f2ef08308c2 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "Depfile.hpp"
+#include "depfile.hpp"
 
-#include <ccache/Context.hpp>
-#include <ccache/Hash.hpp>
+#include <ccache/context.hpp>
 #include <ccache/core/common.hpp>
 #include <ccache/core/exceptions.hpp>
-#include <ccache/util/Tokenizer.hpp>
+#include <ccache/hash.hpp>
 #include <ccache/util/assertions.hpp>
 #include <ccache/util/file.hpp>
 #include <ccache/util/filesystem.hpp>
@@ -30,6 +29,7 @@
 #include <ccache/util/logging.hpp>
 #include <ccache/util/path.hpp>
 #include <ccache/util/string.hpp>
+#include <ccache/util/tokenizer.hpp>
 
 #include <algorithm>
 
index cb4d2cc71775d2713261ae0bddfb6c426fb03c50..aadf4e232d10dd14c2df87369aefa42cd1b6dc9d 100644 (file)
 
 #include "execute.hpp"
 
-#include <ccache/Config.hpp>
-#include <ccache/Context.hpp>
-#include <ccache/SignalHandler.hpp>
 #include <ccache/ccache.hpp>
+#include <ccache/config.hpp>
+#include <ccache/context.hpp>
 #include <ccache/core/exceptions.hpp>
-#include <ccache/util/DirEntry.hpp>
-#include <ccache/util/Fd.hpp>
-#include <ccache/util/Finalizer.hpp>
-#include <ccache/util/TemporaryFile.hpp>
+#include <ccache/signalhandler.hpp>
+#include <ccache/util/direntry.hpp>
 #include <ccache/util/error.hpp>
 #include <ccache/util/expected.hpp>
+#include <ccache/util/fd.hpp>
 #include <ccache/util/file.hpp>
 #include <ccache/util/filesystem.hpp>
+#include <ccache/util/finalizer.hpp>
 #include <ccache/util/format.hpp>
 #include <ccache/util/logging.hpp>
 #include <ccache/util/path.hpp>
 #include <ccache/util/string.hpp>
+#include <ccache/util/temporaryfile.hpp>
 #include <ccache/util/wincompat.hpp>
 
 #include <vector>
index 7d184c8a776c1c5c8e88e44bfafa4a886facb631..a3ef9c59c83600fdba4f16b6399ef97cff107c74 100644 (file)
@@ -18,7 +18,7 @@
 
 #pragma once
 
-#include <ccache/util/Fd.hpp>
+#include <ccache/util/fd.hpp>
 
 #include <filesystem>
 #include <optional>
similarity index 98%
rename from src/ccache/Hash.cpp
rename to src/ccache/hash.cpp
index 45320d1c1918ff107d6bb716af8a3a32a74daf3d..6aac5d3d51f11ec2f5dbf12aa58818f9f46381b0 100644 (file)
@@ -16,9 +16,9 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "Hash.hpp"
+#include "hash.hpp"
 
-#include <ccache/util/Fd.hpp>
+#include <ccache/util/fd.hpp>
 #include <ccache/util/file.hpp>
 #include <ccache/util/format.hpp>
 #include <ccache/util/logging.hpp>
similarity index 100%
rename from src/ccache/Hash.hpp
rename to src/ccache/hash.hpp
index 8878031f8b010447466853d6d764163a5ca1fdd3..ead335be69e7ef2ddd544c0704fcaede9b064955 100644 (file)
 
 #include "hashutil.hpp"
 
-#include <ccache/Args.hpp>
-#include <ccache/Config.hpp>
-#include <ccache/Context.hpp>
+#include <ccache/args.hpp>
+#include <ccache/config.hpp>
+#include <ccache/context.hpp>
 #include <ccache/core/exceptions.hpp>
 #include <ccache/execute.hpp>
 #include <ccache/macroskip.hpp>
-#include <ccache/util/DirEntry.hpp>
 #include <ccache/util/cpu.hpp>
+#include <ccache/util/direntry.hpp>
 #include <ccache/util/file.hpp>
 #include <ccache/util/filesystem.hpp>
 #include <ccache/util/format.hpp>
@@ -36,7 +36,7 @@
 #include <ccache/util/wincompat.hpp>
 
 #ifdef INODE_CACHE_SUPPORTED
-#  include "InodeCache.hpp"
+#  include <ccache/inodecache.hpp>
 #endif
 
 #ifdef HAVE_SPAWN_H
index 127760cc4bcc569ec209eb3b0aea55d352add8dc..c59652ea333171c63aa8f8adbd580950f7639e09 100644 (file)
@@ -18,8 +18,8 @@
 
 #pragma once
 
-#include <ccache/Hash.hpp>
-#include <ccache/util/BitSet.hpp>
+#include <ccache/hash.hpp>
+#include <ccache/util/bitset.hpp>
 
 #include <cstddef>
 #include <filesystem>
similarity index 98%
rename from src/ccache/InodeCache.cpp
rename to src/ccache/inodecache.cpp
index 159fcdf6d5ec806abc0436b305aaee0ebf6cfad1..21c92575272531373bf60b2baf675fe4a300c7ef 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "InodeCache.hpp"
-
-#include <ccache/Config.hpp>
-#include <ccache/Hash.hpp>
-#include <ccache/util/DirEntry.hpp>
-#include <ccache/util/Fd.hpp>
-#include <ccache/util/Finalizer.hpp>
-#include <ccache/util/TemporaryFile.hpp>
+#include "inodecache.hpp"
+
+#include <ccache/config.hpp>
+#include <ccache/hash.hpp>
 #include <ccache/util/conversion.hpp>
+#include <ccache/util/direntry.hpp>
+#include <ccache/util/fd.hpp>
 #include <ccache/util/file.hpp>
 #include <ccache/util/filesystem.hpp>
+#include <ccache/util/finalizer.hpp>
 #include <ccache/util/format.hpp>
 #include <ccache/util/logging.hpp>
 #include <ccache/util/path.hpp>
+#include <ccache/util/temporaryfile.hpp>
 
 #include <fcntl.h>
 
similarity index 96%
rename from src/ccache/InodeCache.hpp
rename to src/ccache/inodecache.hpp
index c4478b735c4b9e8bffaff3208ab4649feb4f020e..d2a05b72148c056e4c34c8cf42aa8a8f06f1c2ad 100644 (file)
 
 #pragma once
 
-#include <ccache/Hash.hpp>
+#include <ccache/hash.hpp>
 #include <ccache/hashutil.hpp>
-#include <ccache/util/Duration.hpp>
-#include <ccache/util/Fd.hpp>
-#include <ccache/util/MemoryMap.hpp>
-#include <ccache/util/TimePoint.hpp>
+#include <ccache/util/duration.hpp>
+#include <ccache/util/fd.hpp>
+#include <ccache/util/memorymap.hpp>
+#include <ccache/util/timepoint.hpp>
 
 #include <sys/types.h>
 
index c58f1aa2f1ca266f6bc399c758c22fda4fd6d0f0..ec9f4d3cc893f1aef710145ab2f7ebf12adf2709 100644 (file)
@@ -18,7 +18,7 @@
 
 #pragma once
 
-#include <ccache/Config.hpp>
+#include <ccache/config.hpp>
 
 #include <filesystem>
 #include <string>
similarity index 99%
rename from src/ccache/ProgressBar.cpp
rename to src/ccache/progressbar.cpp
index 428275cf89da79c59e70b48ee72b7c3ee5fe7f10..8e65f21e9880fb79f8d66c2af5694a8f6df05cd2 100644 (file)
@@ -16,7 +16,7 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "ProgressBar.hpp"
+#include "progressbar.hpp"
 
 #include <ccache/util/assertions.hpp>
 #include <ccache/util/format.hpp>
similarity index 98%
rename from src/ccache/SignalHandler.cpp
rename to src/ccache/signalhandler.cpp
index 37c966777a30bcb901317ffd4ff9751f2cfc7ffd..acb405796515918b10a2dccb7e46bcdc0fb67c2f 100644 (file)
@@ -16,9 +16,9 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "SignalHandler.hpp"
+#include "signalhandler.hpp"
 
-#include <ccache/Context.hpp>
+#include <ccache/context.hpp>
 #include <ccache/util/assertions.hpp>
 
 #include <signal.h> // NOLINT: sigaddset et al are defined in signal.h
index 907d16fdcf68fb06323499f36c08dbbd8fffef49..ba9e075939d3caf33531bfd5036a0328d21d3d1c 100644 (file)
@@ -3,7 +3,7 @@ add_subdirectory(remote)
 
 set(
   sources
-  Storage.cpp
+  storage.cpp
 )
 
 file(GLOB headers *.hpp)
index 01e008602b8debc68d70ef3e4ef0aa598235efd6..1f4a8d1fef85764488aa022c5e79716f20fdf617 100644 (file)
@@ -1,7 +1,7 @@
 set(
   sources
-  LocalStorage.cpp
-  StatsFile.cpp
+  localstorage.cpp
+  statsfile.cpp
   util.cpp
 )
 
similarity index 98%
rename from src/ccache/storage/local/LocalStorage.cpp
rename to src/ccache/storage/local/localstorage.cpp
index b84499e4ea288e229f887e6976e47778dbe0e6c8..039fd115abe66bd70066d8b6135f01f08332db86 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "LocalStorage.hpp"
-
-#include <ccache/Config.hpp>
-#include <ccache/Context.hpp>
-#include <ccache/core/AtomicFile.hpp>
-#include <ccache/core/CacheEntry.hpp>
-#include <ccache/core/FileRecompressor.hpp>
-#include <ccache/core/Manifest.hpp>
-#include <ccache/core/Statistics.hpp>
+#include "localstorage.hpp"
+
+#include <ccache/config.hpp>
+#include <ccache/context.hpp>
+#include <ccache/core/atomicfile.hpp>
+#include <ccache/core/cacheentry.hpp>
 #include <ccache/core/common.hpp>
 #include <ccache/core/exceptions.hpp>
-#include <ccache/util/Duration.hpp>
-#include <ccache/util/FileStream.hpp>
-#include <ccache/util/PathString.hpp>
-#include <ccache/util/TemporaryFile.hpp>
-#include <ccache/util/TextTable.hpp>
-#include <ccache/util/ThreadPool.hpp>
+#include <ccache/core/filerecompressor.hpp>
+#include <ccache/core/manifest.hpp>
+#include <ccache/core/statistics.hpp>
 #include <ccache/util/assertions.hpp>
+#include <ccache/util/duration.hpp>
 #include <ccache/util/expected.hpp>
 #include <ccache/util/file.hpp>
+#include <ccache/util/filestream.hpp>
 #include <ccache/util/filesystem.hpp>
 #include <ccache/util/format.hpp>
 #include <ccache/util/logging.hpp>
 #include <ccache/util/path.hpp>
+#include <ccache/util/pathstring.hpp>
 #include <ccache/util/process.hpp>
 #include <ccache/util/string.hpp>
+#include <ccache/util/temporaryfile.hpp>
+#include <ccache/util/texttable.hpp>
+#include <ccache/util/threadpool.hpp>
 #include <ccache/util/wincompat.hpp>
 
 #ifdef INODE_CACHE_SUPPORTED
-#  include <ccache/InodeCache.hpp>
+#  include <ccache/inodecache.hpp>
 #endif
 
 #include <fcntl.h>
similarity index 95%
rename from src/ccache/storage/local/LocalStorage.hpp
rename to src/ccache/storage/local/localstorage.hpp
index 03677076e0c891fd139ab7128162f709a00c7cc3..71b17912e780e1c38d2d4557ac81bb3aee97cb0a 100644 (file)
 
 #pragma once
 
-#include <ccache/Hash.hpp>
-#include <ccache/core/Result.hpp>
-#include <ccache/core/Statistic.hpp>
-#include <ccache/core/StatisticsCounters.hpp>
+#include <ccache/core/result.hpp>
+#include <ccache/core/statistic.hpp>
+#include <ccache/core/statisticscounters.hpp>
 #include <ccache/core/types.hpp>
-#include <ccache/storage/local/StatsFile.hpp>
+#include <ccache/hash.hpp>
+#include <ccache/storage/local/statsfile.hpp>
 #include <ccache/storage/local/util.hpp>
-#include <ccache/util/Bytes.hpp>
-#include <ccache/util/DirEntry.hpp>
-#include <ccache/util/LockFile.hpp>
-#include <ccache/util/LongLivedLockFileManager.hpp>
-#include <ccache/util/TimePoint.hpp>
+#include <ccache/util/bytes.hpp>
+#include <ccache/util/direntry.hpp>
+#include <ccache/util/lockfile.hpp>
+#include <ccache/util/longlivedlockfilemanager.hpp>
+#include <ccache/util/timepoint.hpp>
 
 #include <nonstd/span.hpp>
 
similarity index 96%
rename from src/ccache/storage/local/StatsFile.cpp
rename to src/ccache/storage/local/statsfile.cpp
index 9b5f54e04ee3fccc534d952ec7aa7b4e8688f89a..c60869df8a6eb2693e8201a7d47825c3f923ee15 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "StatsFile.hpp"
+#include "statsfile.hpp"
 
-#include <ccache/core/AtomicFile.hpp>
+#include <ccache/core/atomicfile.hpp>
 #include <ccache/core/exceptions.hpp>
-#include <ccache/util/LockFile.hpp>
 #include <ccache/util/file.hpp>
 #include <ccache/util/format.hpp>
+#include <ccache/util/lockfile.hpp>
 #include <ccache/util/logging.hpp>
 
 namespace storage::local {
similarity index 97%
rename from src/ccache/storage/local/StatsFile.hpp
rename to src/ccache/storage/local/statsfile.hpp
index c9d39222606f12a5083fc751e93f7f7c957890a7..36df4b84185ddda9384e8371572689de0a5acf74 100644 (file)
@@ -18,7 +18,7 @@
 
 #pragma once
 
-#include <ccache/core/StatisticsCounters.hpp>
+#include <ccache/core/statisticscounters.hpp>
 
 #include <functional>
 #include <optional>
index 71e432d3b10c28148f6b3e219f34b6ae82def535..317c7be1555851cf9744ada614f6e2d5762303c2 100644 (file)
@@ -18,7 +18,7 @@
 
 #pragma once
 
-#include <ccache/util/DirEntry.hpp>
+#include <ccache/util/direntry.hpp>
 
 #include <functional>
 #include <string>
index 96dbebb0b3d51274da7dd01608346b073c94f512..68c9f12ded9f6239e605421203f6871dd8606db3 100644 (file)
@@ -1,12 +1,12 @@
 set(
   sources
-  FileStorage.cpp
-  HttpStorage.cpp
-  RemoteStorage.cpp
+  filestorage.cpp
+  httpstorage.cpp
+  remotestorage.cpp
 )
 
 if(REDIS_STORAGE_BACKEND)
-  list(APPEND sources RedisStorage.cpp)
+  list(APPEND sources redisstorage.cpp)
 endif()
 
 file(GLOB headers *.hpp)
similarity index 97%
rename from src/ccache/storage/remote/FileStorage.cpp
rename to src/ccache/storage/remote/filestorage.cpp
index b7a6375f5e0301ec365cc5a9523e76e4390868b0..643e718befffe134be238bbaf9373c7326a68584 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "FileStorage.hpp"
+#include "filestorage.hpp"
 
-#include <ccache/core/AtomicFile.hpp>
+#include <ccache/core/atomicfile.hpp>
 #include <ccache/core/exceptions.hpp>
-#include <ccache/util/Bytes.hpp>
-#include <ccache/util/DirEntry.hpp>
-#include <ccache/util/UmaskScope.hpp>
 #include <ccache/util/assertions.hpp>
+#include <ccache/util/bytes.hpp>
+#include <ccache/util/direntry.hpp>
 #include <ccache/util/expected.hpp>
 #include <ccache/util/file.hpp>
 #include <ccache/util/filesystem.hpp>
 #include <ccache/util/format.hpp>
 #include <ccache/util/logging.hpp>
 #include <ccache/util/string.hpp>
+#include <ccache/util/umaskscope.hpp>
 
 #include <sys/stat.h> // for mode_t
 
similarity index 95%
rename from src/ccache/storage/remote/FileStorage.hpp
rename to src/ccache/storage/remote/filestorage.hpp
index a5d067f21732d4bd5440205912e5b64f9803f182..1c94c0a4362bfce3644835fbb5aa3d9563e2496b 100644 (file)
@@ -18,7 +18,7 @@
 
 #pragma once
 
-#include <ccache/storage/remote/RemoteStorage.hpp>
+#include <ccache/storage/remote/remotestorage.hpp>
 
 #include <cxxurl/url.hpp>
 
similarity index 99%
rename from src/ccache/storage/remote/HttpStorage.cpp
rename to src/ccache/storage/remote/httpstorage.cpp
index 37221dec9c4f2727d9996bd7b47d6b9b7d4a56d5..d71cf5cf15eebb89d8cda3376287e9e4b0f60b34 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "HttpStorage.hpp"
+#include "httpstorage.hpp"
 
-#include <ccache/Hash.hpp>
 #include <ccache/ccache.hpp>
 #include <ccache/core/exceptions.hpp>
-#include <ccache/storage/Storage.hpp>
+#include <ccache/hash.hpp>
+#include <ccache/storage/storage.hpp>
 #include <ccache/util/assertions.hpp>
 #include <ccache/util/expected.hpp>
 #include <ccache/util/format.hpp>
similarity index 96%
rename from src/ccache/storage/remote/HttpStorage.hpp
rename to src/ccache/storage/remote/httpstorage.hpp
index f7213b09d9164a41d46e151ff8591ba0abd76e0e..e0bb788868d12997e91fab89819fd0cd58718efc 100644 (file)
@@ -18,7 +18,7 @@
 
 #pragma once
 
-#include <ccache/storage/remote/RemoteStorage.hpp>
+#include <ccache/storage/remote/remotestorage.hpp>
 
 #include <cxxurl/url.hpp>
 
similarity index 99%
rename from src/ccache/storage/remote/RedisStorage.cpp
rename to src/ccache/storage/remote/redisstorage.cpp
index 11870277bc3101d65fb43015312f228348aae466..a199a26b2ca828ac3e83a03f63661ecca7f75b44 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "RedisStorage.hpp"
+#include "redisstorage.hpp"
 
-#include <ccache/Hash.hpp>
 #include <ccache/core/exceptions.hpp>
-#include <ccache/storage/Storage.hpp>
+#include <ccache/hash.hpp>
+#include <ccache/storage/storage.hpp>
 #include <ccache/util/assertions.hpp>
 #include <ccache/util/expected.hpp>
 #include <ccache/util/format.hpp>
similarity index 95%
rename from src/ccache/storage/remote/RedisStorage.hpp
rename to src/ccache/storage/remote/redisstorage.hpp
index 9c16bcfd26606a6216e3f55f4cfbf2c2acb98e8c..e8d3a8b52e2a25c147ff10c6809828fe4dd8b1c2 100644 (file)
@@ -18,7 +18,7 @@
 
 #pragma once
 
-#include <ccache/storage/remote/RemoteStorage.hpp>
+#include <ccache/storage/remote/remotestorage.hpp>
 
 #include <cxxurl/url.hpp>
 
similarity index 97%
rename from src/ccache/storage/remote/RemoteStorage.cpp
rename to src/ccache/storage/remote/remotestorage.cpp
index ca0703fa8adef73b2a02f2c73f52bc750fda5a81..8da17878584eef7eab499730380eb0d2ad925a47 100644 (file)
@@ -16,7 +16,7 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "RemoteStorage.hpp"
+#include "remotestorage.hpp"
 
 #include <ccache/util/expected.hpp>
 #include <ccache/util/string.hpp>
similarity index 98%
rename from src/ccache/storage/remote/RemoteStorage.hpp
rename to src/ccache/storage/remote/remotestorage.hpp
index afa8f96b46d59c29e7f78f3dbc0d0e651720b066..c47cb53c8fa1731ea6758a56836e551fe449ac92 100644 (file)
@@ -18,8 +18,8 @@
 
 #pragma once
 
-#include <ccache/Hash.hpp>
-#include <ccache/util/Bytes.hpp>
+#include <ccache/hash.hpp>
+#include <ccache/util/bytes.hpp>
 
 #include <cxxurl/url.hpp>
 #include <nonstd/span.hpp>
similarity index 97%
rename from src/ccache/storage/Storage.cpp
rename to src/ccache/storage/storage.cpp
index dc8cf00c7ae08dd1b80a7ed1d74ce93ac5fdddf3..f4fecc45919702fa3126ae059c8183453bdbe825 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "Storage.hpp"
+#include "storage.hpp"
 
-#include <ccache/Config.hpp>
-#include <ccache/core/CacheEntry.hpp>
-#include <ccache/core/Statistic.hpp>
+#include <ccache/config.hpp>
+#include <ccache/core/cacheentry.hpp>
 #include <ccache/core/exceptions.hpp>
-#include <ccache/storage/remote/FileStorage.hpp>
-#include <ccache/storage/remote/HttpStorage.hpp>
+#include <ccache/core/statistic.hpp>
+#include <ccache/storage/remote/filestorage.hpp>
+#include <ccache/storage/remote/httpstorage.hpp>
 #ifdef HAVE_REDIS_STORAGE_BACKEND
-#  include <ccache/storage/remote/RedisStorage.hpp>
+#  include <ccache/storage/remote/redisstorage.hpp>
 #endif
-#include <ccache/util/Bytes.hpp>
-#include <ccache/util/Timer.hpp>
-#include <ccache/util/Tokenizer.hpp>
-#include <ccache/util/XXH3_64.hpp>
 #include <ccache/util/assertions.hpp>
+#include <ccache/util/bytes.hpp>
 #include <ccache/util/expected.hpp>
 #include <ccache/util/file.hpp>
 #include <ccache/util/format.hpp>
 #include <ccache/util/logging.hpp>
 #include <ccache/util/string.hpp>
+#include <ccache/util/timer.hpp>
+#include <ccache/util/tokenizer.hpp>
+#include <ccache/util/xxh3_64.hpp>
 
 #include <cxxurl/url.hpp>
 
similarity index 94%
rename from src/ccache/storage/Storage.hpp
rename to src/ccache/storage/storage.hpp
index 49733e990b2fcda82ebd9b5e0b0bb57456a9589e..a0c5a971207560ed6511bb1005ce6c90729383f4 100644 (file)
 
 #pragma once
 
-#include <ccache/Hash.hpp>
 #include <ccache/core/types.hpp>
-#include <ccache/storage/local/LocalStorage.hpp>
-#include <ccache/storage/remote/RemoteStorage.hpp>
-#include <ccache/util/Bytes.hpp>
+#include <ccache/hash.hpp>
+#include <ccache/storage/local/localstorage.hpp>
+#include <ccache/storage/remote/remotestorage.hpp>
+#include <ccache/util/bytes.hpp>
 
 #include <nonstd/span.hpp>
 
index ee79419394d9479c0d495e9328fa85644faa955d..904ba01134a4177e6ae44853ff3acdbae42196fb 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include <ccache/Config.hpp>
-#include <ccache/util/LockFile.hpp>
-#include <ccache/util/LongLivedLockFileManager.hpp>
+#include <ccache/config.hpp>
 #include <ccache/util/format.hpp>
+#include <ccache/util/lockfile.hpp>
 #include <ccache/util/logging.hpp>
+#include <ccache/util/longlivedlockfilemanager.hpp>
 #include <ccache/util/string.hpp>
 
 #include <memory>
index 085494910b94ecedf8becdcc33de4c69ff257a89..4983bedcd00020486df313d56928b6b152e73446 100644 (file)
@@ -1,27 +1,27 @@
 set(
   sources
-  Bytes.cpp
-  DirEntry.cpp
-  LockFile.cpp
-  LongLivedLockFileManager.cpp
-  MemoryMap.cpp
-  TemporaryFile.cpp
-  TextTable.cpp
-  ThreadPool.cpp
-  TimePoint.cpp
-  Tokenizer.cpp
-  UmaskScope.cpp
   assertions.cpp
+  bytes.cpp
   cpu.cpp
+  direntry.cpp
   environment.cpp
   error.cpp
   file.cpp
   filesystem.cpp
+  lockfile.cpp
   logging.cpp
+  longlivedlockfilemanager.cpp
+  memorymap.cpp
   path.cpp
   process.cpp
   string.cpp
+  temporaryfile.cpp
+  texttable.cpp
+  threadpool.cpp
   time.cpp
+  timepoint.cpp
+  tokenizer.cpp
+  umaskscope.cpp
   zstd.cpp
 )
 
similarity index 99%
rename from src/ccache/util/Bytes.cpp
rename to src/ccache/util/bytes.cpp
index aedf9ce1b574e838b45f6af9fec26b4cce1856ed..795bd2fa02221de0bcf99e68bb8ab8302d2902e3 100644 (file)
@@ -16,7 +16,7 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "Bytes.hpp"
+#include "bytes.hpp"
 
 #include <ccache/util/assertions.hpp>
 
index e755cc466d36ec453fa87a6d51d5977422abb115..276f36e8083caaa1bacaebbb74e11305c98142b4 100644 (file)
@@ -18,7 +18,7 @@
 
 #pragma once
 
-#include <ccache/util/Bytes.hpp>
+#include <ccache/util/bytes.hpp>
 
 #include <nonstd/span.hpp>
 
similarity index 98%
rename from src/ccache/util/DirEntry.cpp
rename to src/ccache/util/direntry.cpp
index 873a5e0228447077727fef20e17444692c8a9ce3..ed11c64c5e78500797530d4230cda457e7ab05d6 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "DirEntry.hpp"
+#include "direntry.hpp"
 
-#include <ccache/util/Finalizer.hpp>
-#include <ccache/util/PathString.hpp>
 #include <ccache/util/file.hpp>
+#include <ccache/util/finalizer.hpp>
 #include <ccache/util/format.hpp>
 #include <ccache/util/logging.hpp>
+#include <ccache/util/pathstring.hpp>
 #include <ccache/util/wincompat.hpp>
 
 #ifdef _WIN32
similarity index 99%
rename from src/ccache/util/DirEntry.hpp
rename to src/ccache/util/direntry.hpp
index 5f43cb1e06abc0fd1e7fdf2712d46c245a1f72a0..62a7fffa0f5a658e70a9410b04faa2527758db7e 100644 (file)
@@ -18,7 +18,7 @@
 
 #pragma once
 
-#include <ccache/util/TimePoint.hpp>
+#include <ccache/util/timepoint.hpp>
 #include <ccache/util/wincompat.hpp>
 
 #include <sys/stat.h>
similarity index 98%
rename from src/ccache/util/Fd.hpp
rename to src/ccache/util/fd.hpp
index 9859f243deea0ce587c3a79696a78b2727935657..b7a3b3e9949ae8b4b564fc2d6f170ff8400f127c 100644 (file)
@@ -18,8 +18,8 @@
 
 #pragma once
 
-#include <ccache/util/NonCopyable.hpp>
 #include <ccache/util/assertions.hpp>
+#include <ccache/util/noncopyable.hpp>
 #include <ccache/util/wincompat.hpp>
 
 #ifdef HAVE_UNISTD_H
index 90aa54cb77d3c326333938b7832d052a9fd4bc08..ab5617d6bce878b08c53ec3240fe1f346688f0cc 100644 (file)
 
 #include "file.hpp"
 
-#include <ccache/util/Bytes.hpp>
-#include <ccache/util/DirEntry.hpp>
-#include <ccache/util/Fd.hpp>
-#include <ccache/util/Finalizer.hpp>
-#include <ccache/util/PathString.hpp>
-#include <ccache/util/TemporaryFile.hpp>
+#include <ccache/util/bytes.hpp>
+#include <ccache/util/direntry.hpp>
 #include <ccache/util/error.hpp>
 #include <ccache/util/expected.hpp>
+#include <ccache/util/fd.hpp>
 #include <ccache/util/file.hpp>
 #include <ccache/util/filesystem.hpp>
+#include <ccache/util/finalizer.hpp>
 #include <ccache/util/format.hpp>
 #include <ccache/util/logging.hpp>
 #include <ccache/util/path.hpp>
+#include <ccache/util/pathstring.hpp>
+#include <ccache/util/temporaryfile.hpp>
 
 #ifdef __APPLE__
 #  include <copyfile.h>
index 4707f4f5857a0f8501f0125d570cf9977c42669b..40c4031d70d48bb9ec7fc37d35c1e0770cb6f1b3 100644 (file)
@@ -18,9 +18,9 @@
 
 #pragma once
 
-#include <ccache/util/Bytes.hpp>
-#include <ccache/util/DirEntry.hpp>
-#include <ccache/util/TimePoint.hpp>
+#include <ccache/util/bytes.hpp>
+#include <ccache/util/direntry.hpp>
+#include <ccache/util/timepoint.hpp>
 #include <ccache/util/types.hpp>
 
 #include <nonstd/span.hpp>
similarity index 98%
rename from src/ccache/util/FileStream.hpp
rename to src/ccache/util/filestream.hpp
index 8045472f2cc14f13c8062e2b97652c4f4be43ee8..cddf0ccd1d1c14e36a5352a7b1c8325252eb98ba 100644 (file)
@@ -18,7 +18,7 @@
 
 #pragma once
 
-#include <ccache/util/NonCopyable.hpp>
+#include <ccache/util/noncopyable.hpp>
 #include <ccache/util/path.hpp>
 
 #include <cstdio>
similarity index 99%
rename from src/ccache/util/LockFile.cpp
rename to src/ccache/util/lockfile.cpp
index 6d7e297d3dca050e32e09cbb70043d489f7e3877..37afa1565bcc6e1ab3e9862ffa007d4c863d6a65 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "LockFile.hpp"
+#include "lockfile.hpp"
 
-#include <ccache/util/DirEntry.hpp>
 #include <ccache/util/assertions.hpp>
+#include <ccache/util/direntry.hpp>
 #include <ccache/util/error.hpp>
 #include <ccache/util/file.hpp>
 #include <ccache/util/filesystem.hpp>
similarity index 94%
rename from src/ccache/util/LockFile.hpp
rename to src/ccache/util/lockfile.hpp
index 95b984054d51109d42ab064a89a892383d4d8301..243b18b91192e28fdeadcb8d915eb4c540a3dcf3 100644 (file)
@@ -18,9 +18,9 @@
 
 #pragma once
 
-#include <ccache/util/LongLivedLockFileManager.hpp>
-#include <ccache/util/NonCopyable.hpp>
-#include <ccache/util/TimePoint.hpp>
+#include <ccache/util/longlivedlockfilemanager.hpp>
+#include <ccache/util/noncopyable.hpp>
+#include <ccache/util/timepoint.hpp>
 
 #include <filesystem>
 #include <optional>
index d032d831f557dba513e5cc60f22b7bb92c6d0ddc..2115dfea0764f2265c21c36bf398e6d31f61712b 100644 (file)
@@ -17,9 +17,9 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include <ccache/Config.hpp>
-#include <ccache/util/FileStream.hpp>
+#include <ccache/config.hpp>
 #include <ccache/util/file.hpp>
+#include <ccache/util/filestream.hpp>
 #include <ccache/util/filesystem.hpp>
 #include <ccache/util/format.hpp>
 #include <ccache/util/logging.hpp>
similarity index 98%
rename from src/ccache/util/LongLivedLockFileManager.cpp
rename to src/ccache/util/longlivedlockfilemanager.cpp
index e0122eb60ff4ed4feed111e0275033e59fee2f82..73bba56a487f4f48c0a42a41265bfcc49f0d06fe 100644 (file)
@@ -16,7 +16,7 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "LongLivedLockFileManager.hpp"
+#include "longlivedlockfilemanager.hpp"
 
 #include <ccache/util/file.hpp>
 #include <ccache/util/filesystem.hpp>
similarity index 97%
rename from src/ccache/util/LongLivedLockFileManager.hpp
rename to src/ccache/util/longlivedlockfilemanager.hpp
index 5156097f736a30a4116620d0b8fcd8eccac17a4e..9a04357c041c58ecee60276334bdebafdd0e17d7 100644 (file)
@@ -18,7 +18,7 @@
 
 #pragma once
 
-#include <ccache/util/NonCopyable.hpp>
+#include <ccache/util/noncopyable.hpp>
 
 #include <condition_variable>
 #include <filesystem>
similarity index 99%
rename from src/ccache/util/MemoryMap.cpp
rename to src/ccache/util/memorymap.cpp
index 439bb0e38cb3e42e59fde303e4a50c04a65ea77c..0b85a2860ebc6d07cb15b9cc3c932ed81ed4e522 100644 (file)
@@ -16,7 +16,7 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "MemoryMap.hpp"
+#include "memorymap.hpp"
 
 #include <ccache/util/format.hpp>
 #include <ccache/util/wincompat.hpp>
similarity index 97%
rename from src/ccache/util/MemoryMap.hpp
rename to src/ccache/util/memorymap.hpp
index f4d27d92e7626799e76294a6ec55913f4735cc90..fd7eb110f09fcb8252eade6dc10dfd304b13fa7e 100644 (file)
@@ -18,7 +18,7 @@
 
 #pragma once
 
-#include <ccache/util/NonCopyable.hpp>
+#include <ccache/util/noncopyable.hpp>
 
 #include <tl/expected.hpp>
 
index 0e89698242523cd57e0b1e35819cc998c7b081a9..a6fe0128556ae757152150f4a48acb38f0549930 100644 (file)
@@ -18,7 +18,7 @@
 
 #include "path.hpp"
 
-#include <ccache/util/DirEntry.hpp>
+#include <ccache/util/direntry.hpp>
 #include <ccache/util/filesystem.hpp>
 #include <ccache/util/format.hpp>
 #include <ccache/util/string.hpp>
index 3ce20d5357206915e3242565b06fbc3dc5b84cd5..aa09172cfbf62d9d623717b00d9170f5396d1cfb 100644 (file)
@@ -18,7 +18,7 @@
 
 #pragma once
 
-#include <ccache/util/PathString.hpp>
+#include <ccache/util/pathstring.hpp>
 
 #include <filesystem>
 #include <string>
index 07f791f2b5d3fb70fb3b28558b2f99e306293361..b1c3ae261cdb046416c90823b7400cfcf42eedb5 100644 (file)
@@ -18,8 +18,8 @@
 
 #pragma once
 
-#include <ccache/util/Tokenizer.hpp>
 #include <ccache/util/conversion.hpp>
+#include <ccache/util/tokenizer.hpp>
 
 #include <nonstd/span.hpp>
 #include <tl/expected.hpp>
similarity index 98%
rename from src/ccache/util/TemporaryFile.cpp
rename to src/ccache/util/temporaryfile.cpp
index 00d9781530f89dc4d1e1a45d5233acd8606b7ceb..390cfe76a80c2c87688e1a8bacbe6774cec7131b 100644 (file)
@@ -16,7 +16,7 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "TemporaryFile.hpp"
+#include "temporaryfile.hpp"
 
 #include <ccache/util/file.hpp>
 #include <ccache/util/filesystem.hpp>
similarity index 98%
rename from src/ccache/util/TemporaryFile.hpp
rename to src/ccache/util/temporaryfile.hpp
index e92a8e9dfc83dcb4537979edfa59daa6b132b2a0..b3cb01762a0904bbeaafcf0aba9652dcd8b7f20e 100644 (file)
@@ -18,7 +18,7 @@
 
 #pragma once
 
-#include <ccache/util/Fd.hpp>
+#include <ccache/util/fd.hpp>
 
 #include <tl/expected.hpp>
 
similarity index 99%
rename from src/ccache/util/TextTable.cpp
rename to src/ccache/util/texttable.cpp
index 9afd324d73fa32387c418a5ad7acfebea940eff7..55cd37eecead4c0fd11556699cc44262433c1b04 100644 (file)
@@ -16,7 +16,7 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "TextTable.hpp"
+#include "texttable.hpp"
 
 #include <ccache/util/assertions.hpp>
 #include <ccache/util/format.hpp>
similarity index 96%
rename from src/ccache/util/ThreadPool.cpp
rename to src/ccache/util/threadpool.cpp
index 1c62e5d7265d060042d57557853c0c305d4a8f3b..0bc6542b65846a10a93d814eff33abdc5f24e9a2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2023 Joel Rosdahl and other contributors
+// Copyright (C) 2019-2024 Joel Rosdahl and other contributors
 //
 // See doc/AUTHORS.adoc for a complete list of contributors.
 //
@@ -16,7 +16,7 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "ThreadPool.hpp"
+#include "threadpool.hpp"
 
 namespace util {
 
index df7928d82749b1d9d114873b299c67832146d372..938b691af011513000215fdaf85b8b5825fde412 100644 (file)
@@ -18,7 +18,7 @@
 
 #pragma once
 
-#include <ccache/util/TimePoint.hpp>
+#include <ccache/util/timepoint.hpp>
 
 #include <ctime>
 #include <optional>
similarity index 92%
rename from src/ccache/util/TimePoint.cpp
rename to src/ccache/util/timepoint.cpp
index db6016971dada1b0a714ae621c3b0680318f8214..122bf18d94fd3ee928086482aa302adbf9e711a3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2022 Joel Rosdahl and other contributors
+// Copyright (C) 2022-2024 Joel Rosdahl and other contributors
 //
 // See doc/AUTHORS.adoc for a complete list of contributors.
 //
@@ -16,7 +16,7 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "TimePoint.hpp"
+#include "timepoint.hpp"
 
 #include <chrono>
 
similarity index 99%
rename from src/ccache/util/TimePoint.hpp
rename to src/ccache/util/timepoint.hpp
index a12aa19656818d78482ad23238d7347f2835834a..a9b53cec1b71add7f58494df8ad73e5152e169f8 100644 (file)
@@ -18,7 +18,7 @@
 
 #pragma once
 
-#include <ccache/util/Duration.hpp>
+#include <ccache/util/duration.hpp>
 
 #include <cstdint>
 #include <ctime>
similarity index 95%
rename from src/ccache/util/Tokenizer.cpp
rename to src/ccache/util/tokenizer.cpp
index a379c4f293fed2eba7689b3a4935a64be9fd69ce..cf5167476e841d45783f12b1d3c302b1ddd3dddb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2021-2022 Joel Rosdahl and other contributors
+// Copyright (C) 2021-2024 Joel Rosdahl and other contributors
 //
 // See doc/AUTHORS.adoc for a complete list of contributors.
 //
@@ -16,7 +16,7 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "Tokenizer.hpp"
+#include "tokenizer.hpp"
 
 namespace util {
 
similarity index 98%
rename from src/ccache/util/UmaskScope.cpp
rename to src/ccache/util/umaskscope.cpp
index 049167482a83585dedcc752c107f4f260dd3a253..24830274fa26b0322c6cf45a0f2e0089a8cdba0d 100644 (file)
@@ -16,7 +16,7 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "UmaskScope.hpp"
+#include "umaskscope.hpp"
 
 #include <ccache/util/process.hpp>
 
similarity index 98%
rename from src/ccache/util/XXH3_128.hpp
rename to src/ccache/util/xxh3_128.hpp
index 02ea1080c54cade05a7b6ce6828f57605ccada6b..0215dc35f627900b56000ca0adc4661be9341d5a 100644 (file)
@@ -18,7 +18,7 @@
 
 #pragma once
 
-#include <ccache/util/Bytes.hpp>
+#include <ccache/util/bytes.hpp>
 #include <ccache/util/conversion.hpp>
 
 #include <nonstd/span.hpp>
index 557d9cbc6fbea01406b45b3efeeba2cc87431041..9811cd12fa9ba6c24d403372f9909b97bc00e975 100644 (file)
@@ -18,7 +18,7 @@
 
 #pragma once
 
-#include <ccache/util/Bytes.hpp>
+#include <ccache/util/bytes.hpp>
 
 #include <nonstd/span.hpp>
 #include <tl/expected.hpp>
index 3fee27fb9a530212450481c3b6c2cbb92da0f0c7..9540f86dfa1faedab2bc72d882f05740ead43430 100644 (file)
@@ -1,45 +1,45 @@
 set(
   source_files
-  TestUtil.cpp
   main.cpp
-  test_Args.cpp
-  test_Config.cpp
-  test_Depfile.cpp
-  test_Hash.cpp
   test_argprocessing.cpp
+  test_args.cpp
   test_ccache.cpp
   test_compopt.cpp
   test_compression_types.cpp
-  test_core_AtomicFile.cpp
-  test_core_MsvcShowIncludesOutput.cpp
-  test_core_Statistics.cpp
-  test_core_StatisticsCounters.cpp
-  test_core_StatsLog.cpp
+  test_config.cpp
+  test_core_atomicfile.cpp
   test_core_common.cpp
+  test_core_msvcshowincludesoutput.cpp
+  test_core_statistics.cpp
+  test_core_statisticscounters.cpp
+  test_core_statslog.cpp
+  test_depfile.cpp
+  test_hash.cpp
   test_hashutil.cpp
-  test_storage_local_StatsFile.cpp
+  test_storage_local_statsfile.cpp
   test_storage_local_util.cpp
-  test_util_BitSet.cpp
-  test_util_Bytes.cpp
-  test_util_DirEntry.cpp
-  test_util_Duration.cpp
-  test_util_LockFile.cpp
-  test_util_TextTable.cpp
-  test_util_TimePoint.cpp
-  test_util_Tokenizer.cpp
-  test_util_XXH3_128.cpp
-  test_util_XXH3_64.cpp
+  test_util_bitset.cpp
+  test_util_bytes.cpp
   test_util_conversion.cpp
+  test_util_direntry.cpp
+  test_util_duration.cpp
   test_util_environment.cpp
   test_util_expected.cpp
   test_util_file.cpp
+  test_util_lockfile.cpp
   test_util_path.cpp
   test_util_string.cpp
+  test_util_texttable.cpp
+  test_util_timepoint.cpp
+  test_util_tokenizer.cpp
+  test_util_xxh3_128.cpp
+  test_util_xxh3_64.cpp
   test_util_zstd.cpp
+  testutil.cpp
 )
 
 if(INODE_CACHE_SUPPORTED)
-  list(APPEND source_files test_InodeCache.cpp)
+  list(APPEND source_files test_inodecache.cpp)
 endif()
 
 if(WIN32)
index 670a25121a3ce3473be83d5874f0f958013a05c4..187024ded27c2038603f1450489ae9f58a214b29 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "TestUtil.hpp"
+#include "testutil.hpp"
 
-#include <ccache/Args.hpp>
-#include <ccache/Config.hpp>
-#include <ccache/Context.hpp>
 #include <ccache/argprocessing.hpp>
-#include <ccache/core/Statistic.hpp>
+#include <ccache/args.hpp>
+#include <ccache/config.hpp>
+#include <ccache/context.hpp>
+#include <ccache/core/statistic.hpp>
 #include <ccache/util/file.hpp>
 #include <ccache/util/filesystem.hpp>
 #include <ccache/util/format.hpp>
similarity index 99%
rename from unittest/test_Args.cpp
rename to unittest/test_args.cpp
index 9560e71366647173aed96c1895a785d75df013d7..b1bb6f634ce05783b8ddc563f3aa997035e87ce8 100644 (file)
@@ -16,9 +16,9 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "TestUtil.hpp"
+#include "testutil.hpp"
 
-#include <ccache/Args.hpp>
+#include <ccache/args.hpp>
 #include <ccache/util/file.hpp>
 
 #include <doctest/doctest.h>
index 22a60cc22dfe9e882d848f3c577180e4cbd09474..c3324722fa11d23f44af0b9df29ddb6ba933f971 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "TestUtil.hpp"
+#include "testutil.hpp"
 
-#include <ccache/util/Fd.hpp>
-#include <ccache/util/Finalizer.hpp>
+#include <ccache/util/fd.hpp>
+#include <ccache/util/finalizer.hpp>
 #include <ccache/util/wincompat.hpp>
 
 #include <doctest/doctest.h>
index ecf21635a2abbb03180f359b56b778c7790480fc..c8e1346e60019be1b03dbb57e489648c2c319056 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "TestUtil.hpp"
+#include "testutil.hpp"
 
-#include <ccache/Context.hpp>
 #include <ccache/ccache.hpp>
+#include <ccache/context.hpp>
 #include <ccache/util/file.hpp>
 #include <ccache/util/filesystem.hpp>
 #include <ccache/util/format.hpp>
index 1e7cae7d787f34f5b9d3a3488e9fbf0600a851e1..c712a429c8f274a87e6ed7d819815a56b43c373d 100644 (file)
@@ -16,7 +16,7 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include <ccache/Config.hpp>
+#include <ccache/config.hpp>
 #include <ccache/core/types.hpp>
 
 #include <doctest/doctest.h>
similarity index 99%
rename from unittest/test_Config.cpp
rename to unittest/test_config.cpp
index a6cfddcd1c34c6eafc3bd8a34fd8026866a23cfb..9ccd4b41d29a4875f0577ab343243a91282faf1d 100644 (file)
@@ -16,9 +16,9 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "TestUtil.hpp"
+#include "testutil.hpp"
 
-#include <ccache/Config.hpp>
+#include <ccache/config.hpp>
 #include <ccache/core/exceptions.hpp>
 #include <ccache/util/environment.hpp>
 #include <ccache/util/file.hpp>
similarity index 94%
rename from unittest/test_core_AtomicFile.cpp
rename to unittest/test_core_atomicfile.cpp
index 42655a7167c10721bec87bca2a12b245244ed490..e1075d40d6b96fc63ec5a5b956345b202793c1cb 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "TestUtil.hpp"
+#include "testutil.hpp"
 
-#include <ccache/core/AtomicFile.hpp>
-#include <ccache/util/DirEntry.hpp>
+#include <ccache/core/atomicfile.hpp>
+#include <ccache/util/direntry.hpp>
 #include <ccache/util/file.hpp>
 
 #include <doctest/doctest.h>
index a3c2c34ab7ec4bd0aa83378a8ae718dbe5a89f57..74a37ffb75c6a38eedd9a1bb2eac83544c4fcc57 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "TestUtil.hpp"
+#include "testutil.hpp"
 
 #include <ccache/core/common.hpp>
 #include <ccache/core/exceptions.hpp>
-#include <ccache/util/DirEntry.hpp>
+#include <ccache/util/direntry.hpp>
 #include <ccache/util/file.hpp>
 #include <ccache/util/filesystem.hpp>
 #include <ccache/util/format.hpp>
similarity index 98%
rename from unittest/test_core_MsvcShowIncludesOutput.cpp
rename to unittest/test_core_msvcshowincludesoutput.cpp
index 633407004c3b0355d47e8d17f3c18ff277555671..14ace84d6cd18aac1403986cdf2f60ea4d484b46 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "TestUtil.hpp"
+#include "testutil.hpp"
 
-#include <ccache/Context.hpp>
-#include <ccache/core/MsvcShowIncludesOutput.hpp>
+#include <ccache/context.hpp>
+#include <ccache/core/msvcshowincludesoutput.hpp>
 #include <ccache/util/string.hpp>
 
 #include <doctest/doctest.h>
similarity index 94%
rename from unittest/test_core_Statistics.cpp
rename to unittest/test_core_statistics.cpp
index ad96fcd725ac61104e8d67dfd8e936f091a2441f..755c365942c592920e7f40a493aaf27ed6df3487 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "TestUtil.hpp"
+#include "testutil.hpp"
 
-#include <ccache/core/Statistic.hpp>
-#include <ccache/core/Statistics.hpp>
+#include <ccache/core/statistic.hpp>
+#include <ccache/core/statistics.hpp>
 
 #include <doctest/doctest.h>
 
similarity index 96%
rename from unittest/test_core_StatisticsCounters.cpp
rename to unittest/test_core_statisticscounters.cpp
index fd0dcd34b193be745826a2419326760c264048d6..341aa5d0cc6c65946b97acc2866e80c69c9f6c96 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "TestUtil.hpp"
+#include "testutil.hpp"
 
-#include <ccache/core/Statistic.hpp>
-#include <ccache/core/StatisticsCounters.hpp>
+#include <ccache/core/statistic.hpp>
+#include <ccache/core/statisticscounters.hpp>
 
 #include <doctest/doctest.h>
 
similarity index 96%
rename from unittest/test_core_StatsLog.cpp
rename to unittest/test_core_statslog.cpp
index db262d0fdf1ed827a0d81ea31ca8f2839e11918e..43942831f9f3e7dd9f143885f9c9a7435cdf27cf 100644 (file)
@@ -16,9 +16,9 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "TestUtil.hpp"
+#include "testutil.hpp"
 
-#include <ccache/core/StatsLog.hpp>
+#include <ccache/core/statslog.hpp>
 #include <ccache/util/file.hpp>
 
 #include <doctest/doctest.h>
similarity index 99%
rename from unittest/test_Depfile.cpp
rename to unittest/test_depfile.cpp
index 27ebec8e77ae99e2ee6b76036229ba385f1ded66..f5c8b212600f48ed1c06ecf2d09bb2713da75a4a 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "TestUtil.hpp"
+#include "testutil.hpp"
 
-#include <ccache/Context.hpp>
-#include <ccache/Depfile.hpp>
+#include <ccache/context.hpp>
+#include <ccache/depfile.hpp>
 #include <ccache/util/filesystem.hpp>
 #include <ccache/util/format.hpp>
 #include <ccache/util/path.hpp>
similarity index 98%
rename from unittest/test_Hash.cpp
rename to unittest/test_hash.cpp
index c428214253e7460deae8313fd79359f58fe7136c..92def441e7b18ba04c06bd21318f28747c23d9e4 100644 (file)
@@ -16,7 +16,7 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include <ccache/Hash.hpp>
+#include <ccache/hash.hpp>
 #include <ccache/util/string.hpp>
 
 #include <doctest/doctest.h>
index d05fde6b9e10e577b1fbb9cf152e11b6e6766ff6..7416c8f7208fad9ca29c85b28b35f27968ece2ab 100644 (file)
@@ -16,9 +16,9 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "TestUtil.hpp"
+#include "testutil.hpp"
 
-#include <ccache/Hash.hpp>
+#include <ccache/hash.hpp>
 #include <ccache/hashutil.hpp>
 #include <ccache/util/file.hpp>
 
similarity index 96%
rename from unittest/test_InodeCache.cpp
rename to unittest/test_inodecache.cpp
index feec4e34f98e24586112cd04ffdcd017c0b9b778..878f083ea9e6e63f1073be775fad908b0665409e 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "TestUtil.hpp"
-
-#include <ccache/Config.hpp>
-#include <ccache/Context.hpp>
-#include <ccache/Hash.hpp>
-#include <ccache/InodeCache.hpp>
-#include <ccache/util/Fd.hpp>
-#include <ccache/util/TemporaryFile.hpp>
+#include "testutil.hpp"
+
+#include <ccache/config.hpp>
+#include <ccache/context.hpp>
+#include <ccache/hash.hpp>
+#include <ccache/inodecache.hpp>
+#include <ccache/util/fd.hpp>
 #include <ccache/util/file.hpp>
 #include <ccache/util/filesystem.hpp>
 #include <ccache/util/path.hpp>
+#include <ccache/util/temporaryfile.hpp>
 
 #include <doctest/doctest.h>
 
similarity index 96%
rename from unittest/test_storage_local_StatsFile.cpp
rename to unittest/test_storage_local_statsfile.cpp
index ae0721b167ad33278a0871988e20f9eef8a1400b..1bbd794a2f078d608ff5bad6a9bfd5518885d576 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "TestUtil.hpp"
+#include "testutil.hpp"
 
-#include <ccache/core/Statistic.hpp>
-#include <ccache/storage/local/StatsFile.hpp>
+#include <ccache/core/statistic.hpp>
+#include <ccache/storage/local/statsfile.hpp>
 #include <ccache/util/file.hpp>
 #include <ccache/util/format.hpp>
 
index 200d7797ee17223b398780fe0c38b6cfaa87e04c..c6766677c92cc805f1dbb03e3545d35cec62fd17 100644 (file)
@@ -16,7 +16,7 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "TestUtil.hpp"
+#include "testutil.hpp"
 
 #include <ccache/storage/local/util.hpp>
 #include <ccache/util/file.hpp>
similarity index 97%
rename from unittest/test_util_BitSet.cpp
rename to unittest/test_util_bitset.cpp
index 745527eb6cf317a66bad7b8bf37084bcb4e0242a..d77fa6ecddc8840b6539ac74bb64502795a6d8f0 100644 (file)
@@ -16,9 +16,9 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "TestUtil.hpp"
+#include "testutil.hpp"
 
-#include <ccache/util/BitSet.hpp>
+#include <ccache/util/bitset.hpp>
 
 #include <doctest/doctest.h>
 
similarity index 99%
rename from unittest/test_util_Bytes.cpp
rename to unittest/test_util_bytes.cpp
index 5deb7ac06e2d9a67aaa277ae9ec0642cf3e9b91b..3d73945701e63b0d3cf2bd15ae9dfa34f9ba5d57 100644 (file)
@@ -16,7 +16,7 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include <ccache/util/Bytes.hpp>
+#include <ccache/util/bytes.hpp>
 
 #include <doctest/doctest.h>
 #include <nonstd/span.hpp>
similarity index 99%
rename from unittest/test_util_DirEntry.cpp
rename to unittest/test_util_direntry.cpp
index 3de2a1c0cf2bb76b1199c000ebdb5dfa769d532a..0bf4907486c94d98629de56e69ea826096c58b05 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "TestUtil.hpp"
+#include "testutil.hpp"
 
-#include <ccache/util/DirEntry.hpp>
-#include <ccache/util/Fd.hpp>
-#include <ccache/util/Finalizer.hpp>
+#include <ccache/util/direntry.hpp>
 #include <ccache/util/environment.hpp>
+#include <ccache/util/fd.hpp>
 #include <ccache/util/file.hpp>
 #include <ccache/util/filesystem.hpp>
+#include <ccache/util/finalizer.hpp>
 #include <ccache/util/wincompat.hpp>
 
 #include <doctest/doctest.h>
similarity index 98%
rename from unittest/test_util_Duration.cpp
rename to unittest/test_util_duration.cpp
index a0a745e2f28d46c12f024a86210e4df00b07f464..0ebcce77aa050ca11e6b5c10063b72b26decfce9 100644 (file)
@@ -16,7 +16,7 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include <ccache/util/Duration.hpp>
+#include <ccache/util/duration.hpp>
 
 #include <doctest/doctest.h>
 
index 9f1c1a0313121effffc93d8abe26d67f95c313c4..728df776566b4c6f48c2cac02d161ff2c1bd0c5b 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "TestUtil.hpp"
+#include "testutil.hpp"
 
-#include <ccache/util/Bytes.hpp>
-#include <ccache/util/DirEntry.hpp>
-#include <ccache/util/Fd.hpp>
+#include <ccache/util/bytes.hpp>
+#include <ccache/util/direntry.hpp>
+#include <ccache/util/fd.hpp>
 #include <ccache/util/file.hpp>
 #include <ccache/util/filesystem.hpp>
 #include <ccache/util/format.hpp>
similarity index 97%
rename from unittest/test_util_LockFile.cpp
rename to unittest/test_util_lockfile.cpp
index efdec653d145687faa84bd9a0b219e0344f7030e..857051474c6b2c44606430f5aae6dd788a757da2 100644 (file)
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "TestUtil.hpp"
+#include "testutil.hpp"
 
-#include <ccache/util/DirEntry.hpp>
-#include <ccache/util/LockFile.hpp>
+#include <ccache/util/direntry.hpp>
 #include <ccache/util/file.hpp>
+#include <ccache/util/lockfile.hpp>
 #include <ccache/util/wincompat.hpp>
 
 #include <doctest/doctest.h>
index b29199182b2a9aeed4b7230ff30f76a23bbc024d..a3cbbaf13550fa9a45cdce1220c960229eb56acc 100644 (file)
@@ -16,7 +16,7 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "TestUtil.hpp"
+#include "testutil.hpp"
 
 #include <ccache/util/environment.hpp>
 #include <ccache/util/filesystem.hpp>
similarity index 98%
rename from unittest/test_util_TextTable.cpp
rename to unittest/test_util_texttable.cpp
index aa85b3695beb923e545bb2b57257db684a1ede4d..036dd4831d9dbf51f665c61fd35bf28bce375132 100644 (file)
@@ -16,7 +16,7 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include <ccache/util/TextTable.hpp>
+#include <ccache/util/texttable.hpp>
 
 #include <doctest/doctest.h>
 
similarity index 98%
rename from unittest/test_util_TimePoint.cpp
rename to unittest/test_util_timepoint.cpp
index 8d7f632720c7794cf86641c7dbfa9cc347a1f0cc..0c120e6068516d3b8225eb2243a2f3bf008c6bf3 100644 (file)
@@ -16,7 +16,7 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include <ccache/util/TimePoint.hpp>
+#include <ccache/util/timepoint.hpp>
 
 #include <doctest/doctest.h>
 
similarity index 97%
rename from unittest/test_util_XXH3_128.cpp
rename to unittest/test_util_xxh3_128.cpp
index a8bce49316a449998baf80643ffafe9428e97226..b9cfa7f7fb45ee4f445b5430214cad2405b7c373 100644 (file)
@@ -16,8 +16,8 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include <ccache/util/XXH3_128.hpp>
 #include <ccache/util/string.hpp>
+#include <ccache/util/xxh3_128.hpp>
 
 #include <doctest/doctest.h>
 
similarity index 97%
rename from unittest/test_util_XXH3_64.cpp
rename to unittest/test_util_xxh3_64.cpp
index 61bb133d81fe82ee3335593d46eb4d434e124e6a..705f1db8378732e0e59532226f7be413d594c2fd 100644 (file)
@@ -16,7 +16,7 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include <ccache/util/XXH3_64.hpp>
+#include <ccache/util/xxh3_64.hpp>
 
 #include <doctest/doctest.h>
 
index 59e5550cef57559c8719182684c9fbe2e2931bdc..4b411af88e9921f2175f81b9e9abf6af8079e074 100644 (file)
@@ -16,9 +16,9 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "TestUtil.hpp"
+#include "testutil.hpp"
 
-#include <ccache/util/Bytes.hpp>
+#include <ccache/util/bytes.hpp>
 #include <ccache/util/zstd.hpp>
 
 #include <doctest/doctest.h>
similarity index 95%
rename from unittest/TestUtil.cpp
rename to unittest/testutil.cpp
index 95e9ed1dbe6ef84d5e8f8c10a3b10a80925e7ca4..d5ae90ec7c3137ee8b822d49c038ccad5a3b8659 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020-2023 Joel Rosdahl and other contributors
+// Copyright (C) 2020-2024 Joel Rosdahl and other contributors
 //
 // See doc/AUTHORS.adoc for a complete list of contributors.
 //
@@ -16,7 +16,7 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
-#include "TestUtil.hpp"
+#include "testutil.hpp"
 
 #include <ccache/core/exceptions.hpp>
 #include <ccache/util/expected.hpp>
similarity index 100%
rename from unittest/TestUtil.hpp
rename to unittest/testutil.hpp