GetFileStat is a helper function and used to obtain file statistics information. In GFx, this method is used to detect file changes. Returns 0 if function fails, most likely because the file does not exist.
Parameters |
Description |
FileStat* pfileStats |
Pointer to file statistics. |
const String& path |
Path/Directory name of the file. The path should be encoded as UTF-8 to support international file names. |
A Boolean value of 1 if file statistics is obtained otherwise 0.