Expand description
Library surface for git-cache-proxy.
The modules are exposed as a library (in addition to the git-cache-proxy
binary in main.rs) so that integration tests can drive the HTTP router and
the git cache in-process. See the binary crate for the runnable entry point.
Modulesยง
- config
- Command-line / environment configuration.
- git
- Git plumbing: keep a bare mirror fresh and serve
upload-packfrom it. - metrics
- Prometheus metrics.
- repo
- Request-path -> (upstream URL, on-disk cache dir) resolution, hardened against path traversal.
- server
- HTTP surface: the git smart-HTTP endpoints plus health/metrics.