danielpalme / ReportGenerator

ReportGenerator converts coverage reports generated by coverlet, OpenCover, dotCover, Visual Studio, NCover, Cobertura, JaCoCo, Clover, gcov or lcov into human readable reports in various formats.
https://reportgenerator.io
Apache License 2.0
2.65k stars 283 forks source link

Allow to specify the root path #660

Closed shargon closed 8 months ago

shargon commented 8 months ago

Description

It should be great if we are able to reduce the full path to a relative one, instead of see /home/runner/work/MyProject.Core/Module/MyClass.cs see /Module/MyClass.cs if we specify the root path.

danielpalme commented 8 months ago

Similar issues: #395, #356, #238

Does this answer help? https://github.com/danielpalme/ReportGenerator/issues/356#issuecomment-649002083