Value | Meaning |
---|---|
IS_REGULAR1 | 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_SYMLINK2 | TRUE if the file is a symlink. |
IS_DIR4 | TRUE if the file is a directory. |
IS_EXECUTABLE8 | TRUE if the file is executable. |
EXISTS16 | TRUE if the file exists. It may or may not be a regular file. |
A test to perform on a file using g_file_test().