1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 23:25:26 +02:00

[198692] FTP should mark files starting with "." as hidden

This commit is contained in:
Javier Montalvo Orus 2007-10-01 16:19:40 +00:00
parent 62aeab40fd
commit 66a3ca2e50

View file

@ -19,6 +19,7 @@
* Javier Montalvo Orus (Symbian) - [197758] Unix symbolic links are not classified as file vs. folder
* Javier Montalvo Orus (Symbian) - [198272] FTP should return classification for symbolic links so they show a link overlay
* Martin Oberhuber (Wind River) - [204669] Fix ftp path concatenation on systems using backslash separator
* Javier Montalvo Orus (Symbian) - [198692] FTP should mark files starting with "." as hidden
********************************************************************************/
package org.eclipse.rse.internal.services.files.ftp;
@ -153,7 +154,8 @@ public class FTPHostFile implements IHostFile
}
public boolean isHidden() {
return false;
String name = getName();
return name.charAt(0) == '.';
}
public boolean isRoot() {