Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 19:26:09 +01:00
forgejo/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.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
client_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
content_store.go Make repository response support HTTP range request (#24592) 2023-05-09 15:34:36 +08:00
endpoint.go escape filename when assemble URL (#22850) 2023-02-12 09:31:14 +08:00
endpoint_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
filesystem_client.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
http_client_test.go Refactor lfs requests (#26783) 2023-09-18 08:40:50 +00:00
LICENSE Git LFS support v2 (#122) 2016-12-26 09:16:37 +08:00
pointer.go Refactor lfs requests (#26783) 2023-09-18 08:40:50 +00:00
pointer_scanner_gogit.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
pointer_scanner_nogogit.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
pointer_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
shared.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
transferadapter.go Refactor lfs requests (#26783) 2023-09-18 08:40:50 +00:00
transferadapter_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00