(self, filepath, digest)
| 852 | return target_filepath, hardlink_filepath |
| 853 | |
| 854 | def _assert_on_file_content(self, filepath, digest): |
| 855 | with open(filepath, "rb") as f: |
| 856 | data = f.read() |
| 857 | self.assertEqual(sha256sum(data), digest) |
| 858 | |
| 859 | @unittest.skipUnless( |
| 860 | hasattr(os, "link"), "Missing hardlink implementation" |
no test coverage detected