Gio.FileInfo.prototype.get_file_type
function get_file_type(): Gio.FileType {
// Gjs wrapper for g_file_info_get_file_type()
}
Gets a file's type (whether it is a regular file, symlink, etc). This is different from the file's content type, see Gio.FileInfo.prototype.get_content_type.
- Returns
a Gio.FileType for the given file.