You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/02/12 05:01:58 UTC

[GitHub] [incubator-doris] chaoyli commented on a change in pull request #2884: Add `sync_dir` interface to Env

chaoyli commented on a change in pull request #2884: Add `sync_dir` interface to Env
URL: https://github.com/apache/incubator-doris/pull/2884#discussion_r378039268
 
 

 ##########
 File path: be/src/env/env.h
 ##########
 @@ -139,9 +138,21 @@ class Env {
     // Delete the named file.
     virtual Status delete_file(const std::string& fname) = 0;
 
-    // Create the specified directory. Returns error if directory exists.
+    // Create the specified directory.
+    // NOTE: It will return error if the path already exist(not necessarily as a directory)
     virtual Status create_dir(const std::string& dirname) = 0;
 
 Review comment:
   necessity or not depends application logic. Is not depends on API

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org