You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
3 years ago
..
testdata/academic-module Fix panic when diff (#9187) 5 years ago
csv.go Add Tabular Diff for CSV files (#14661) 3 years ago
csv_test.go Add Tabular Diff for CSV files (#14661) 3 years ago
gitdiff.go Place wrapper around comment as diff to catch panics (#15085) 3 years ago
gitdiff_test.go Migrate to use jsoniter instead of encoding/json (#14841) 3 years ago
main_test.go Move git diff codes from models to services/gitdiff (#7889) 5 years ago