(self, diff: Diff)
| 142 | self.same_files.add((sender, size)) |
| 143 | |
| 144 | def diff_hook(self, diff: Diff): |
| 145 | for hook in self.get_diff_hooks().values(): |
| 146 | for output in hook(diff=diff): |
| 147 | if type(output) == ScanLocation: |
| 148 | self.compare(a_path=output, b_path=output.metadata["b_scan_location"]) |
| 149 | else: |
| 150 | self.hits.append(output) |
| 151 | |
| 152 | self.diffs.append(diff) |
| 153 | |
| 154 | def compare( |
| 155 | self, |
no test coverage detected