You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by GitBox <gi...@apache.org> on 2019/06/24 17:16:43 UTC

[GitHub] [mina-sshd] The-Yoda commented on a change in pull request #104: [SSHD-929] Create separate listener for remove directory.

The-Yoda 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_r296827367
 
 

 ##########
 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:
   Ack

----------------------------------------------------------------
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: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org