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/modules/repofiles
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
..
blob.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 5 years ago
blob_test.go Improve listing performance by using go-git (#6478) 5 years ago
content.go Improve listing performance by using go-git (#6478) 5 years ago
content_test.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 5 years ago
delete.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 5 years ago
delete_test.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 5 years ago
diff.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 5 years ago
diff_test.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 5 years ago
file.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 5 years ago
file_test.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 5 years ago
repofiles.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 5 years ago
repofiles_test.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 5 years ago
temp_repo.go Improve listing performance by using go-git (#6478) 5 years ago
tree.go Improve listing performance by using go-git (#6478) 5 years ago
tree_test.go Improve listing performance by using go-git (#6478) 5 years ago
update.go UI: Detect and restore encoding and BOM in content (#6727) 5 years ago
update_test.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 5 years ago
upload.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 5 years ago
verification.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 5 years ago