arpadboda commented on a change in pull request #616: MINIFICPP-986 - GetFile 
processor incorrectly identifies hidden files…
URL: https://github.com/apache/nifi-minifi-cpp/pull/616#discussion_r307266547
 
 

 ##########
 File path: libminifi/include/utils/file/FileUtils.h
 ##########
 @@ -541,6 +541,15 @@ class FileUtils {
     return child_path;
   }
 
+  static bool is_hidden(const std::string& path){
+#ifdef WIN32
+    DWORD attributes = GetFileAttributes(path.c_str());
 
 Review comment:
   Good spot, thanks!

----------------------------------------------------------------
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

Reply via email to