mirror of https://github.com/go-gitea/gitea.git
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.
50a72e7a83
The idea is to use a Layered Asset File-system (modules/assetfs/layered.go) For example: when there are 2 layers: "custom", "builtin", when access to asset "my/page.tmpl", the Layered Asset File-system will first try to use "custom" assets, if not found, then use "builtin" assets. This approach will hugely simplify a lot of code, make them testable. Other changes: * Simplify the AssetsHandlerFunc code * Simplify the `gitea embedded` sub-command code --------- Co-authored-by: Jason Song <i@wolfogre.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> |
2 years ago | |
---|---|---|
.. | ||
filebuffer | 2 years ago | |
error.go | 2 years ago | |
file_unix.go | 2 years ago | |
file_unix_test.go | 2 years ago | |
file_windows.go | 2 years ago | |
io.go | 2 years ago | |
keypair.go | 2 years ago | |
keypair_test.go | 2 years ago | |
legacy.go | 2 years ago | |
legacy_test.go | 2 years ago | |
pack.go | 2 years ago | |
pack_test.go | 2 years ago | |
paginate.go | 2 years ago | |
paginate_test.go | 2 years ago | |
path.go | 2 years ago | |
path_test.go | 2 years ago | |
remove.go | 2 years ago | |
sanitize.go | 2 years ago | |
sanitize_test.go | 2 years ago | |
sec_to_time.go | 2 years ago | |
sec_to_time_test.go | 2 years ago | |
shellquote.go | 2 years ago | |
shellquote_test.go | 2 years ago | |
slice.go | 2 years ago | |
slice_test.go | 2 years ago | |
string.go | 2 years ago | |
string_test.go | 2 years ago | |
timer.go | 2 years ago | |
timer_test.go | 2 years ago | |
truncate.go | 2 years ago | |
truncate_test.go | 2 years ago | |
url.go | 2 years ago | |
util.go | 2 years ago | |
util_test.go | 2 years ago |