Skip to content

Commit

Permalink
Run clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
SterlingT3485 committed Nov 18, 2024
1 parent 8a42558 commit b97e001
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/common/file_system/local_file_system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ bool isSubdirectory(const std::filesystem::path& base, const std::filesystem::pa
auto basePath = std::filesystem::weakly_canonical(base);
auto subPath = std::filesystem::weakly_canonical(sub);

return std::search(subPath.begin(), subPath.end(), basePath.begin(), basePath.end()) == subPath.begin();
return std::search(subPath.begin(), subPath.end(), basePath.begin(), basePath.end()) ==
subPath.begin();
}

void LocalFileSystem::removeFileIfExists(const std::string& path) {
Expand Down

0 comments on commit b97e001

Please sign in to comment.