[ 
https://issues.apache.org/jira/browse/SSHD-345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet resolved SSHD-345.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 0.13.0
         Assignee: Guillaume Nodet

https://git-wip-us.apache.org/repos/asf?p=mina-sshd.git;a=commit;h=da8bbf6b28f987ab6a39d189763eeacb22f767b5

> Add isDirectory, isSymlink, isRegularFIle, and isOther methods to Attributes
> ----------------------------------------------------------------------------
>
>                 Key: SSHD-345
>                 URL: https://issues.apache.org/jira/browse/SSHD-345
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 0.12.0
>            Reporter: Jonathan Chien
>            Assignee: Guillaume Nodet
>             Fix For: 0.13.0
>
>
> Calling DefaultSftpClient.lstat or stat returns an Attributes object. It 
> would be helpful if the Attributes object implemented or had the methods 
> available of  the Java 7 BasicFileAttributes interface. 
> The current missing methods are isDirectory, isSymlink, isRegularFIle, and 
> isOther. This information is returned by the stat and without these methods, 
> there's no good way to determine what time of file a Path is without using 
> ChannelExec to do a test or stat manually.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to