SysFile::GetFileStat

SysFile::GetFileStat
static SF_EXPORT bool SF_CDECL GetFileStat(FileStat* pfileStats, const String& path);
Description

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
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. 
Return Value

A Boolean value of 1 if file statistics is obtained otherwise 0.