#include <sys/stat.h>
TimeStamp
osgEarth::getLastModifiedTime(const std::string& path)
{
struct stat buf;
if ( stat(path.c_str(), &buf) == 0 )
return buf.st_mtime;
else
return 0;
}
#include <sys/stat.h>
TimeStamp
osgEarth::getLastModifiedTime(const std::string& path)
{
struct stat buf;
if ( stat(path.c_str(), &buf) == 0 )
return buf.st_mtime;
else
return 0;
}