Skip to main content

bind_daemon

Function bind_daemon 

Source
pub fn bind_daemon(
    hosts: &[String],
    port: u16,
    opts: &DaemonOptions,
) -> Result<DaemonListeners, ServerError>
Expand description

Bind every address of every --listen host on port. With no host, bind all interfaces as git does. Fails only when nothing could be bound.