forgejo/services/repository/files
Gusted 958a20865b [GITEA] Add download URL for executable files
- Backport https://codeberg.org/forgejo/forgejo/pulls/1839
- Consider executable files as a valid case when returning a downloadURL
for them. They are just regular files with the difference being the
executable permission bit being set.
- Not integration testing as it's not possible without adding adjusting
the existing repositories to have a executable file.
- Resolves https://codeberg.org/forgejo/forgejo/issues/1825

(cherry picked from commit ca32891d54)
2023-12-04 17:19:13 +00:00
..
cherry_pick.go
commit.go
content.go [GITEA] Add download URL for executable files 2023-12-04 17:19:13 +00:00
content_test.go move repository deletion to service layer (#26948) 2023-09-08 04:51:15 +00:00
diff.go
diff_test.go Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00
file.go
file_test.go Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00
patch.go
temp_repo.go Fix some slice append usages (#26778) 2023-08-29 15:47:26 +00:00
tree.go
tree_test.go Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00
update.go Sync repo's IsEmpty status correctly (#26517) 2023-08-17 04:43:39 +00:00
upload.go More refactoring of db.DefaultContext (#27083) 2023-09-15 06:13:19 +00:00