GFileType g_file_query_file_type ( GFile* file, GFileQueryInfoFlags flags, GCancellable* cancellable )
Utility function to inspect the
GFileType of a file. This is
g_file_query_info() and as such does blocking I/O.
The primary use case of this method is to check if a file is a regular file, directory, or symlink.