sys: Added clang-format file, formatted entire project

This commit is contained in:
WerWolv
2022-01-24 20:53:17 +01:00
parent a66fec489c
commit 0e08b0226b
168 changed files with 5178 additions and 4866 deletions

View File

@@ -32,7 +32,7 @@ namespace hex::magic {
}
if (error)
return { };
return {};
else
return magicFiles;
}
@@ -70,7 +70,7 @@ namespace hex::magic {
return getDescription(buffer);
}
std::string getMIMEType(const std::vector<u8> &data){
std::string getMIMEType(const std::vector<u8> &data) {
auto magicFiles = getMagicFiles();
if (magicFiles.has_value()) {