diff2html icon indicating copy to clipboard operation
diff2html copied to clipboard

How to display the number of different points

Open 1506085843 opened this issue 3 years ago • 1 comments

image How can I get the total number of distinct points and display?For example, there are 6 differences in the above picture, I want to show 6 differences after the file name, how can I do that?

1506085843 avatar Sep 14 '22 03:09 1506085843

👋 you kind of have this information in the file list before the diffs.

Is that what you are looking for?

To accomplish that you could change the data passed to the generic-file-path template. You would need to pass more data to the template, but it should be simple. If you are interested feel free to send a PR with more data being pushed to the template and then you can use your custom template to accomplish any changes in the actual HTML.

image

rtfpessoa avatar Sep 14 '22 13:09 rtfpessoa

Closing for inactivity.

rtfpessoa avatar Aug 07 '23 14:08 rtfpessoa