no need of option, but add a mapping while comparing, to associate the inode etiquette to
{ dev_id, inode_id, path of the first link found for that inode } .
at second and next occurence, if dev_id/inode_id we compare to is the same as the one found in the mapping, we are good, this is the same inode, else we fallback to data comparison
see filesystem_hard_link_read probably better to extend existing code to also support comparison operation. (see if possible to reuse/share code of filesystem_hard_link_read class)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
no need of option, but add a mapping while comparing, to associate the inode etiquette to
{ dev_id, inode_id, path of the first link found for that inode } .
at second and next occurence, if dev_id/inode_id we compare to is the same as the one found in the mapping, we are good, this is the same inode, else we fallback to data comparison
see filesystem_hard_link_read probably better to extend existing code to also support comparison operation. (see if possible to reuse/share code of filesystem_hard_link_read class)