Skip to content

Commit

Permalink
fix delete binlog bug (OpenAtomFoundation#1679)
Browse files Browse the repository at this point in the history
Co-authored-by: liuyuecai <[email protected]>
  • Loading branch information
luky116 and liuyuecai authored Jul 3, 2023
1 parent f8da20c commit 6abf2b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pstd/src/env.cc
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ int CreatePath(const std::string& path, mode_t mode) {
int GetChildren(const std::string& dir, std::vector<std::string>& result) {
result.clear();
for (auto& de : filesystem::directory_iterator(dir)) {
result.emplace_back(de.path());
result.emplace_back(de.path().filename());
}
return 0;
}
Expand Down

0 comments on commit 6abf2b5

Please sign in to comment.