1
0
Fork 0
forgejo/models
wxiaoguang ce9dee5a1e
Introduce path Clean/Join helper functions ()
Since  has conflicts with latest commits, this PR is my proposal
for fixing 

Details are in the comments

And refactor the `modules/options` module, to make it always use
"filepath" to access local files.

Benefits:

* No need to do `util.CleanPath(strings.ReplaceAll(p, "\\", "/"))),
"/")` any more (not only one before)
* The function behaviors are clearly defined
2023-03-21 16:02:49 -04:00
..
actions Display the version of runner in the runner list () 2023-03-19 22:19:40 -04:00
activities
admin
asymkey
auth
avatars
db
dbfs
fixtures
git Introduce path Clean/Join helper functions () 2023-03-21 16:02:49 -04:00
issues
migrations Display the version of runner in the runner list () 2023-03-19 22:19:40 -04:00
organization
packages
perm
project
pull
repo
secret
system
unit
unittest
user
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
migrate.go
migrate_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go
repo_collaboration.go
repo_collaboration_test.go
repo_test.go
repo_transfer.go
repo_transfer_test.go