'Compare DirEntry based only on inode and device number
:param other: other DirEntry
:type other: DirEntry
:return: True iff ino and dev are equal
:rtype: bool'

def __eq__(self, other):

    return ((self.ino == other.ino) and (self.dev == other.dev))
