GFileTest

A test to perform on a file using glib.global.fileTest.

Values

ValueMeaning
IsRegular1

true if the file is a regular file (not a directory). Note that this test will also return true if the tested file is a symlink to a regular file.

IsDir4

true if the file is a directory.

IsExecutable8

true if the file is executable.

Exists16

true if the file exists. It may or may not be a regular file.