Utility function to inspect the FileType of a file.
This is implemented using 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.
this |
input File |
flags |
a set of FileQueryInfoFlags passed to query_info |
cancellable |
optional Cancellable object, null to ignore |
The FileType of the file and UNKNOWN if the file does not exist |