Skip to main content

receive_pack_with

Function receive_pack_with 

Source
pub fn receive_pack_with(
    repo: &mut Repository,
    body: &[u8],
    pusher: &Pusher,
    policy: Option<&dyn PushPolicy>,
) -> Result<Vec<u8>, ServerError>
Expand description

receive-pack gated by an explicit push policy: each refused ref is reported ng <ref> <reason> and left unchanged; other refs proceed.