| 78 | } |
| 79 | |
| 80 | int64_t FileAccess::getFileMtime ( const string & fileName) const { |
| 81 | #if !defined(DAS_NO_FILEIO) |
| 82 | struct stat st; |
| 83 | stat(fileName.c_str(), &st); |
| 84 | return st.st_mtime; |
| 85 | #else |
| 86 | return -1; |
| 87 | #endif |
| 88 | } |
| 89 | |
| 90 | bool ModuleFileAccess::canModuleBeUnsafe ( const string & mod, const string & fileName ) const { |
| 91 | if(failed() || !moduleUnsafe) return FileAccess::canModuleBeUnsafe(mod,fileName); |
no test coverage detected