git_http_backend/
config.rs

1
2
3
4
5
6
7
8
9
10
11
12
use std::path::PathBuf;

/// git http server config
#[derive(Clone)]
pub struct GitHttpConfig{
    /// git repository root
    pub root: PathBuf,
    /// git http server port
    pub port: u16,
    /// git http server address
    pub addr: String,
}