lgoldstein commented on a change in pull request #104: [SSHD-929] Create 
separate listener for remove directory.
URL: https://github.com/apache/mina-sshd/pull/104#discussion_r296805009
 
 

 ##########
 File path: 
sshd-sftp/src/main/java/org/apache/sshd/server/subsystem/sftp/SftpEventListener.java
 ##########
 @@ -393,6 +393,30 @@ default void removed(ServerSession session, Path path, 
Throwable thrown) throws
         // ignored
     }
 
+    /**
+     * Called <U>prior</U> to removing a directory
+     *
+     * @param session The {@link ServerSession} through which the request was 
handled
+     * @param path    The {@link Path} about to be removed
+     * @throws IOException If failed to handle the call
+     * @see #removed(ServerSession, Path, Throwable)
+     */
+    default void removingDirectory(ServerSession session, Path path) throws 
IOException {
 
 Review comment:
   In order to really make the distinction, the original `removing/remove` 
should also be renamed to `removingFile/removedFile`

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to