Community
Participate
Working Groups
Currently, the TCF file system implementation is auto mapping the read-only attribute through the Posix API to the FileAttrs.permissions field only. Other Windows specific file system attributes like "Hidden", "Compressed" and others are not available through the TCF file system service. The Windows file system specific attributes should be revealed.
Created attachment 197939 [details] Patch revealing the Windows specific file system attributes The proposed patch is revealing the Windows specific file system attributes via the FileAttrs.attributes map. The map key is "Win32Attrs" and the value is an Integer. For interpretation of the integer value, see the Windows API help for GetFileAttributes/SetFileAttributes.
Created attachment 197948 [details] Patch revealing the Windows specific file system attributes Fixed a bug where the file attribute value INVALID_FILE_ATTRIBUTES (-1) is written to the JSON stream.
I have committed the path after fixing a compilation error on Linux and rearranging the code a little bit to reduce number of if-defs. Thanks!
Comment on attachment 197948 [details] Patch revealing the Windows specific file system attributes Uwe has been a TCF committer since the restructuring review in 2010: http://wiki.eclipse.org/DSDP/Restructuring_Review#Target_Communication_Framework Thus marking attached patch as iplog-.