Skip to main content

set_reference

Function set_reference 

Source
pub fn set_reference(
    repo: &Repository,
    name: &str,
    target: ObjectId,
    constraint: RefPrecondition,
    log_message: &str,
) -> GitProjectionResult<()>