gitea/modules/lfs
Chongyi Zheng 9631958a82
Refactor lfs requests (#26783)
- 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>
2023-09-18 08:40:50 +00:00
..
client_test.go
client.go
content_store.go
endpoint_test.go
endpoint.go
filesystem_client.go Refactor lfs requests (#26783) 2023-09-18 08:40:50 +00:00
http_client_test.go Refactor lfs requests (#26783) 2023-09-18 08:40:50 +00:00
http_client.go Refactor lfs requests (#26783) 2023-09-18 08:40:50 +00:00
LICENSE
pointer_scanner_gogit.go
pointer_scanner_nogogit.go
pointer_test.go
pointer.go Refactor lfs requests (#26783) 2023-09-18 08:40:50 +00:00
shared.go
transferadapter_test.go
transferadapter.go Refactor lfs requests (#26783) 2023-09-18 08:40:50 +00:00