FileTest#
- class FileTest#
A test to perform on a file using file_test().
Fields#
- class FileTest
- EXISTS#
Trueif the file exists. It may or may not be a regular file.
- IS_DIR#
Trueif the file is a directory.
- IS_EXECUTABLE#
Trueif the file is executable.
- IS_REGULAR#
Trueif the file is a regular file (not a directory). Note that this test will also returnTrueif the tested file is a symlink to a regular file.
- IS_SYMLINK#
Trueif the file is a symlink.