From aacb7c58e7e618f896610556ccc899fefebd76d7 Mon Sep 17 00:00:00 2001 From: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com> Date: Wed, 27 Sep 2023 14:18:57 +0300 Subject: [PATCH] clang-format --- include/result/result_fs.hpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/include/result/result_fs.hpp b/include/result/result_fs.hpp index 146d0d2d8..b7e798f97 100644 --- a/include/result/result_fs.hpp +++ b/include/result/result_fs.hpp @@ -4,21 +4,21 @@ DEFINE_HORIZON_RESULT_MODULE(Result::FS, FS); namespace Result::FS { - // TODO: Verify this - DEFINE_HORIZON_RESULT(FileNotFound, 100, NotFound, Status); - // TODO: Verify this - DEFINE_HORIZON_RESULT(FileNotFoundAlt, 112, NotFound, Status); - // Also a not found error code used here and there in the FS module. - DEFINE_HORIZON_RESULT(NotFoundInvalid, 120, InvalidState, Status); - DEFINE_HORIZON_RESULT(AlreadyExists, 190, NothingHappened, Info); - DEFINE_HORIZON_RESULT(FileTooLarge, 210, OutOfResource, Info); - // Trying to access an archive that needs formatting and has not been formatted - DEFINE_HORIZON_RESULT(NotFormatted, 340, InvalidState, Status); - DEFINE_HORIZON_RESULT(UnexpectedFileOrDir, 770, NotSupported, Usage); + // TODO: Verify this + DEFINE_HORIZON_RESULT(FileNotFound, 100, NotFound, Status); + // TODO: Verify this + DEFINE_HORIZON_RESULT(FileNotFoundAlt, 112, NotFound, Status); + // Also a not found error code used here and there in the FS module. + DEFINE_HORIZON_RESULT(NotFoundInvalid, 120, InvalidState, Status); + DEFINE_HORIZON_RESULT(AlreadyExists, 190, NothingHappened, Info); + DEFINE_HORIZON_RESULT(FileTooLarge, 210, OutOfResource, Info); + // Trying to access an archive that needs formatting and has not been formatted + DEFINE_HORIZON_RESULT(NotFormatted, 340, InvalidState, Status); + DEFINE_HORIZON_RESULT(UnexpectedFileOrDir, 770, NotSupported, Usage); - // Trying to rename a file that doesn't exist or is a directory + // Trying to rename a file that doesn't exist or is a directory DEFINE_HORIZON_RESULT(RenameNonexistentFileOrDir, 120, NotFound, Status); - // Trying to rename a file but the destination already exists + // Trying to rename a file but the destination already exists DEFINE_HORIZON_RESULT(RenameFileDestExists, 190, NothingHappened, Status); -}; +}; // namespace Result::FS