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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to