michael-o commented on a change in pull request #10:
URL: https://github.com/apache/maven-clean-plugin/pull/10#discussion_r781335089



##########
File path: src/main/java/org/apache/maven/plugins/clean/Cleaner.java
##########
@@ -297,6 +299,12 @@ else if ( file.exists() )
         return result;
     }
 
+    private boolean isSymbolicLink( Path path ) throws IOException
+    {
+        BasicFileAttributes attrs = Files.readAttributes( path, 
BasicFileAttributes.class, LinkOption.NOFOLLOW_LINKS );
+        return attrs.isSymbolicLink() || ( attrs.isDirectory() && 
attrs.isOther() );

Review comment:
       Can you add a comment here  that the right hand part represents a 
junction?




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

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to