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.
zeripath f6eedd4dc8 UI: Detect and restore encoding and BOM in content (#6727)
* detect and remove a decoded BOM

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Restore the previous encoding and BOM

* On error keep as UTF-8

Signed-off-by: Andrew Thornton <art27@cantab.net>

* create remove BOM function

* Deal with LFSed content

* Update modules/repofiles/update.go

* Fix final LFS bug

* Keep LFS sections referring to opts.Content
5 years ago
..
base.go golint fixed for modules/base 8 years ago
natural_sort.go Sort repository tree entries in natural way (#2506) 7 years ago
natural_sort_test.go Sort repository tree entries in natural way (#2506) 7 years ago
tool.go UI: Detect and restore encoding and BOM in content (#6727) 5 years ago
tool_test.go Use type switch (#5122) 6 years ago