Seaven commented on a change in pull request #2089: Change refactor and
reorganize the file utils
URL: https://github.com/apache/incubator-doris/pull/2089#discussion_r340411595
##########
File path: be/src/env/env_posix.cpp
##########
@@ -590,9 +591,26 @@ class PosixEnv : public Env {
}
// Create the specified directory. Returns error if directory exists.
- Status create_dir(const std::string& name) override {
- if (mkdir(name.c_str(), 0755) != 0) {
- return io_error(name, errno);
+ Status create_dir(const std::string& dir_path) override {
Review comment:
Thanks, will modify it.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]