bench-forgejo/services/gitdiff
KN4CK3R 0c6137617f
Add Tabular Diff for CSV files (#14661)
Implements request #14320 The rendering of CSV files does match the diff style.

* Moved CSV logic into base package.

* Added method to create a tabular diff.

* Added CSV compare context.

* Added CSV diff template.

* Use new table style in CSV markup.

* Added file size limit for CSV rendering.

* Display CSV parser errors in diff.

* Lazy read single file.

* Lazy read rows for full diff.

* Added unit tests for various CSV changes.
2021-03-29 22:44:28 +02:00
..
testdata/academic-module Fix panic when diff (#9187) 2019-11-28 17:05:57 +08:00
csv.go Add Tabular Diff for CSV files (#14661) 2021-03-29 22:44:28 +02:00
csv_test.go Add Tabular Diff for CSV files (#14661) 2021-03-29 22:44:28 +02:00
gitdiff.go Place wrapper around comment as diff to catch panics (#15085) 2021-03-21 16:59:58 +00:00
gitdiff_test.go Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
main_test.go Move git diff codes from models to services/gitdiff (#7889) 2019-09-05 22:20:09 -04:00