[ CCode ( cprefix = "G_FILE_TYPE_" , type_id = "g_file_type_get_type ()" ) ]
public enum FileType

Indicates the file's on-disk type.

On Windows systems a file will never have g_file_type_symbolic_link type; use FileInfo and g_file_attribute_standard_is_symlink to determine whether a file is a symlink or not. This is due to the fact that NTFS does not have a single filesystem object type for symbolic links - it has files that symlink to files, and directories that symlink to directories. FileType enumeration cannot precisely represent this important distinction, which is why all Windows symlinks will continue to be reported as g_file_type_regular or g_file_type_directory.

Namespace: GLib
Package: gio-2.0


Enum values: