Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gFileQueryFileType

gFileQueryFileType


Description

Utility function to inspect the GFileType of a file. This is implemented using gFileQueryInfo and as such does blocking I/O.

Usage

gFileQueryFileType(object, flags, cancellable = NULL)

Arguments

object

input GFile.

flags

a set of GFileQueryInfoFlags passed to gFileQueryInfo.

cancellable

optional GCancellable object, NULL to ignore.

Details

The primary use case of this method is to check if a file is a regular file, directory, or symlink. Since 2.18

Value

[GFileType] The GFileType of the file and G_FILE_TYPE_UNKNOWN if the file does not exist

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.