pub fn are_hardlinks_to_same_file(source: &Path, target: &Path) -> bool
Expand description

Checks if two paths are hard links to the same file.

Arguments

  • source - A reference to a Path representing the source path.
  • target - A reference to a Path representing the target path.

Returns

  • bool - Returns true if the paths are hard links to the same file, and false otherwise.