0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-28 20:53:28 +01:00
gitea/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
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