Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Commit 09a8014

Browse files
style: pre-commit autofixes [skip ci]
1 parent 390a962 commit 09a8014

35 files changed

Lines changed: 133 additions & 109 deletions

CMakeLists.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# ======================================================================================
2+
# __ ____ __ __ ____ ___
3+
# ( ) (_ _)( \/ )( ___)/ __)
4+
# )(__ _)(_ ) ( )__) \__ \
5+
# (____)(____)(_/\/\_)(____)(___/
6+
#
7+
# This file is part of the Limes open source library and is licensed under the terms of the GNU Public License.
8+
#
9+
# Commercial licenses are available; contact the maintainers at ben.the.vining@gmail.com to inquire for details.
10+
#
11+
# ======================================================================================
12+
113
cmake_minimum_required (VERSION 3.25 FATAL_ERROR)
214

315
project (

CTestConfig.cmake

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# ======================================================================================
2+
# __ ____ __ __ ____ ___
3+
# ( ) (_ _)( \/ )( ___)/ __)
4+
# )(__ _)(_ ) ( )__) \__ \
5+
# (____)(____)(_/\/\_)(____)(___/
6+
#
7+
# This file is part of the Limes open source library and is licensed under the terms of the GNU Public License.
8+
#
9+
# Commercial licenses are available; contact the maintainers at ben.the.vining@gmail.com to inquire for details.
10+
#
11+
# ======================================================================================
12+
113
set (CTEST_PROJECT_NAME "lfilesystem")
214
set (CTEST_NIGHTLY_START_TIME "01:00:00 UTC")
315

include/lfilesystem/lfilesystem_CFile.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ class LFILE_EXPORT CFile final
9292
/** Move assignment operator. */
9393
CFile& operator= (CFile&& other) noexcept;
9494

95-
CFile (const CFile&) = delete;
96-
CFile& operator=(const CFile&) = delete;
95+
CFile (const CFile&) = delete;
96+
CFile& operator= (const CFile&) = delete;
9797

9898
/** @name Accessors */
9999
///@{

include/lfilesystem/lfilesystem_Directory.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ class LFILE_EXPORT Directory final : public FilesystemEntry
5555
public:
5656
using FilesystemEntry::FilesystemEntry;
5757

58-
Directory (const Directory&) = default;
58+
Directory (const Directory&) = default;
5959
Directory& operator= (const Directory&) = default;
6060

61-
Directory (Directory&&) = default;
61+
Directory (Directory&&) = default;
6262
Directory& operator= (Directory&&) = default;
6363

6464
/** @name Typedefs
@@ -274,10 +274,10 @@ class LFILE_EXPORT Directory final : public FilesystemEntry
274274

275275
explicit Iterator();
276276

277-
Iterator (const Iterator&) = default;
277+
Iterator (const Iterator&) = default;
278278
Iterator& operator= (const Iterator&) = default;
279279

280-
Iterator (Iterator&&) = default;
280+
Iterator (Iterator&&) = default;
281281
Iterator& operator= (Iterator&&) = default;
282282

283283
private:

include/lfilesystem/lfilesystem_DynamicLibrary.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class LFILE_EXPORT DynamicLibrary final
7878
DynamicLibrary (DynamicLibrary&& other) noexcept;
7979
DynamicLibrary& operator= (DynamicLibrary&& other) noexcept;
8080

81-
DynamicLibrary (const DynamicLibrary&) = delete;
81+
DynamicLibrary (const DynamicLibrary&) = delete;
8282
DynamicLibrary& operator= (const DynamicLibrary&) = delete;
8383

8484
#if (defined(_WIN32) || defined(WIN32)) && ! defined(DOXYGEN)

include/lfilesystem/lfilesystem_File.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include <memory>
2525
#include <iterator>
2626
#include "lfilesystem/lfilesystem_Export.h"
27-
#include "lfilesystem/lfilesystem_FilesystemEntry.h" // for FilesystemEntry, Path
27+
#include "lfilesystem/lfilesystem_FilesystemEntry.h" // for FilesystemEntry, Path
2828
#include "lfilesystem/lfilesystem_CFile.h"
2929

3030
/** @file
@@ -36,7 +36,7 @@
3636
namespace limes::files
3737
{
3838

39-
#pragma mark File
39+
#pragma mark File
4040
#pragma region File
4141

4242
/** This class represents a %file on the filesystem.
@@ -63,10 +63,10 @@ class LFILE_EXPORT File : public FilesystemEntry
6363
public:
6464
using FilesystemEntry::FilesystemEntry;
6565

66-
File (const File&) = default;
66+
File (const File&) = default;
6767
File& operator= (const File&) = default;
6868

69-
File (File&&) = default;
69+
File (File&&) = default;
7070
File& operator= (File&&) = default;
7171

7272
/** @name Path queries */
@@ -310,10 +310,10 @@ class LFILE_EXPORT File : public FilesystemEntry
310310

311311
explicit Iterator();
312312

313-
Iterator (const Iterator&) = default;
313+
Iterator (const Iterator&) = default;
314314
Iterator& operator= (const Iterator&) = default;
315315

316-
Iterator (Iterator&&) = default;
316+
Iterator (Iterator&&) = default;
317317
Iterator& operator= (Iterator&&) = default;
318318

319319
private:
@@ -401,7 +401,7 @@ class LFILE_EXPORT TempFile final : public File
401401
*/
402402
~TempFile() final;
403403

404-
TempFile (const TempFile&) = delete;
404+
TempFile (const TempFile&) = delete;
405405
TempFile& operator= (const TempFile&) = delete;
406406

407407
/** @name Moving */

include/lfilesystem/lfilesystem_FileWatcher.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ class LFILE_EXPORT FileWatcher
8484
/** Destructor. */
8585
virtual ~FileWatcher();
8686

87-
FileWatcher (const FileWatcher&) = delete;
87+
FileWatcher (const FileWatcher&) = delete;
8888
FileWatcher& operator= (const FileWatcher&) = delete;
8989

90-
FileWatcher (FileWatcher&&) = delete;
90+
FileWatcher (FileWatcher&&) = delete;
9191
FileWatcher& operator= (FileWatcher&&) = delete;
9292

9393
/** Called when a file's content is accessed.
@@ -178,4 +178,4 @@ class LFILE_EXPORT FileWatcher
178178
[[maybe_unused]] FilesystemEntry watchedPath;
179179
};
180180

181-
} // namespace files
181+
} // namespace limes::files

include/lfilesystem/lfilesystem_FilesystemEntry.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,10 @@ class LFILE_EXPORT FilesystemEntry
115115
/** Destructor. */
116116
virtual ~FilesystemEntry() = default;
117117

118-
FilesystemEntry (const FilesystemEntry&) = default;
118+
FilesystemEntry (const FilesystemEntry&) = default;
119119
FilesystemEntry& operator= (const FilesystemEntry&) = default;
120120

121-
FilesystemEntry (FilesystemEntry&&) = default;
121+
FilesystemEntry (FilesystemEntry&&) = default;
122122
FilesystemEntry& operator= (FilesystemEntry&&) = default;
123123

124124
/** @name Path assignment */
@@ -157,9 +157,9 @@ class LFILE_EXPORT FilesystemEntry
157157
158158
@todo test coverage
159159
*/
160-
[[nodiscard]] bool operator<(const FilesystemEntry& other) const noexcept;
160+
[[nodiscard]] bool operator< (const FilesystemEntry& other) const noexcept;
161161
[[nodiscard]] bool operator> (const FilesystemEntry& other) const noexcept;
162-
[[nodiscard]] bool operator<(const Path& other) const noexcept;
162+
[[nodiscard]] bool operator< (const Path& other) const noexcept;
163163
[[nodiscard]] bool operator> (const Path& other) const noexcept;
164164
///@}
165165

include/lfilesystem/lfilesystem_Misc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,4 @@ namespace limes::files
9797

9898
/** @}*/
9999

100-
} // namespace files
100+
} // namespace limes::files

include/lfilesystem/lfilesystem_Permissions.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class LFILE_EXPORT Permissions final
5252
Permissions() = default;
5353

5454
/** Creates a Permissions object holding the specified permissions value. */
55-
Permissions (FSPerms p) noexcept; // cppcheck-suppress noExplicitConstructor
55+
Permissions (FSPerms p) noexcept; // cppcheck-suppress noExplicitConstructor
5656

5757
///@}
5858

@@ -73,10 +73,10 @@ class LFILE_EXPORT Permissions final
7373

7474
///@}
7575

76-
Permissions (const Permissions&) = default;
76+
Permissions (const Permissions&) = default;
7777
Permissions& operator= (const Permissions&) = default;
7878

79-
Permissions (Permissions&&) = default;
79+
Permissions (Permissions&&) = default;
8080
Permissions& operator= (Permissions&&) = default;
8181

8282
/** Assigns a new permissions bitmask to this object. */

0 commit comments

Comments
 (0)