pub fn serve_http(
git_dir: impl AsRef<Path>,
addr: SocketAddr,
stop: Arc<AtomicBool>,
) -> Result<(), ServerError>Expand description
Bind addr and serve git_dir over smart HTTP until stop is set or accept fails.
pub fn serve_http(
git_dir: impl AsRef<Path>,
addr: SocketAddr,
stop: Arc<AtomicBool>,
) -> Result<(), ServerError>Bind addr and serve git_dir over smart HTTP until stop is set or accept fails.