mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-12 10:34:15 +01:00
9631958a82
- Refactor lfs request code - The original code uses `performRequest` function to create the request, uses a callback to modify the request, and then send the request. - Now it's replaced with `createRequest` that only creates request and `performRequest` that only sends the request. - Reuse `createRequest` and `performRequest` in `http_client.go` and `transferadapter.go` --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> |
||
---|---|---|
.. | ||
filebuffer | ||
rotatingfilewriter | ||
color.go | ||
color_test.go | ||
error.go | ||
file_unix.go | ||
file_unix_test.go | ||
file_windows.go | ||
io.go | ||
io_test.go | ||
keypair.go | ||
keypair_test.go | ||
legacy.go | ||
legacy_test.go | ||
pack.go | ||
pack_test.go | ||
paginate.go | ||
paginate_test.go | ||
path.go | ||
path_test.go | ||
remove.go | ||
sanitize.go | ||
sanitize_test.go | ||
sec_to_time.go | ||
sec_to_time_test.go | ||
shellquote.go | ||
shellquote_test.go | ||
slice.go | ||
slice_test.go | ||
string.go | ||
string_test.go | ||
timer.go | ||
timer_test.go | ||
truncate.go | ||
truncate_test.go | ||
url.go | ||
util.go | ||
util_test.go |