| 290 | } |
| 291 | |
| 292 | bool FileInfo::isExecutable() const { |
| 293 | #if EE_PLATFORM != EE_PLATFORM_WIN |
| 294 | return mPermissions & S_IEXEC; |
| 295 | #else |
| 296 | std::string ext = FileSystem::fileExtension( mFilepath ); |
| 297 | return ext == "exe" || ext == "bat"; |
| 298 | #endif |
| 299 | } |
| 300 | |
| 301 | bool FileInfo::sameInode( const FileInfo& other ) const { |
| 302 | return inodeSupported() && mInode == other.mInode; |
no outgoing calls
no test coverage detected