equal
deleted
inserted
replaced
418 continue |
418 continue |
419 } |
419 } |
420 |
420 |
421 var hardlinksFound bool |
421 var hardlinksFound bool |
422 |
422 |
423 // Sort by device/inodes |
|
424 sort.Sort(ByInode(sizeGroup.files)) |
|
425 |
|
426 // Check for hardlinks |
423 // Check for hardlinks |
427 // TODO: what about symlinks? |
424 // TODO: what about symlinks? |
428 // Remove unique dev/inodes |
425 // Remove unique dev/inodes |
429 // Instead of this loop, another way would be to use the field |
426 // Instead of this loop, another way would be to use the field |
430 // "Unique" of the fileObj to mark them to be discarded |
427 // "Unique" of the fileObj to mark them to be discarded |