Name
filetype
Synopsis
string filetype(string path)
Returns the type of file given in path.
The possible types are:
|
|
The file is a fifo pipe. |
|
|
The file is a text file. |
|
|
|
|
|
A block reserved for use by the filesystem. |
|
|
The file is a symbolic link. |
|
|
The file contains binary data. |
|
|
The file’s type could not be determined. |