forgejo/services/repository/files
Gusted 72c9df8e45
[GITEA] Add download URL for executable files
- 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 14:22:22 +01:00
..
cherry_pick.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
commit.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
content.go [GITEA] Add download URL for executable files 2023-12-04 14:22:22 +01:00
content_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
diff.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
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 [GITEA] Allow user to select email for file operations in Web UI 2023-12-04 14:22:21 +01:00
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 Updates to the API for archived repos (#27149) 2023-09-21 23:43:29 +00:00
temp_repo.go Upgrade to golangci-lint@v1.55.0 (#27756) 2023-10-24 02:54:59 +00:00
tree.go Return empty url for submodule tree entries (#23043) 2023-02-21 12:31:17 -05:00
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 Updates to the API for archived repos (#27149) 2023-09-21 23:43:29 +00:00
upload.go More refactoring of db.DefaultContext (#27083) 2023-09-15 06:13:19 +00:00