Enumeration (GI Flags)

GLib-2.0GLibFileTest

A test to perform on a file using g_file_test().

Index
EXISTS: 16

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

IS_DIR: 4

true if the file is a directory.

IS_EXECUTABLE: 8

true if the file is executable.

IS_REGULAR: 1

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.

IS_SYMLINK: 2

true if the file is a symlink.