| Return Type | Function name | Arguments |
|---|---|---|
| bool | hzDirent::operator== | (const hzDirent&,) |
Declared in file: hzDirectory.h
Defined in file : hzDirectory.cpp
Function Logic:
Function body:
bool hzDirent::operator== (const hzDirent& op)
{
if (ISDIR(m_Mode) && ISDIR(op.m_Mode))
return m_Name == op.m_Name ? true : false ;
if (ISDIR(m_Mode))
return false ;
if (ISDIR(op.m_Mode))
return false ;
if (Path() != op.Path())
return false ;
return m_Name == op.m_Name && m_Mtime == op.m_Mtime && m_Size == op.m_Size ? true : false ;
}