1
0
Fork 0
forgejo/modules/base
Gusted c63b52c126
[FEAT] Show follow symlink button
- When a user goes opens a symlink file in Forgejo, the file would be
rendered with the path of the symlink as content.
- Add a button that is shown when the user opens a *valid* symlink file,
which means that the symlink must have an valid path to an existent
file and after 999 follows isn't a symlink anymore.
- Return the relative path from the `FollowLink` functions, because Git
really doesn't want to tell where an file is located based on the blob ID.
- Adds integration tests.
2024-03-02 17:58:09 +01:00
..
base.go
natural_sort.go [BUG] Sort file list case insensitively 2024-02-29 21:14:06 +01:00
natural_sort_test.go [BUG] Sort file list case insensitively 2024-02-29 21:14:06 +01:00
tool.go [FEAT] Show follow symlink button 2024-03-02 17:58:09 +01:00
tool_test.go Refactor some legacy code and remove unused code (#28622) 2023-12-28 09:38:59 +00:00