git_http_backend/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/// # Git-Http-Backend
/// this is a simple http server for git
/// it can be used as a backend for git-http-backend
/// 
/// ```shell
/// cargo run --release --bin server -- -r 'e:' -p 80 -a 'localhost'
/// ```
/// 
/// Next, create a folder `test` under drive E.
/// ```shell
/// mkdir e:\test
/// ```
/// Then, create a file `test.git` under drive E.
/// ```shell
/// git init --bare e:\test\test.git
/// ```
/// 
/// Now we can clone the repository
/// ```shell
/// git clone http://localhost/test/test.git
/// ```

pub mod config;
pub mod actix;