Skip to main content

register_git_module

Function register_git_module 

Source
pub fn register_git_module(
    engine: &mut Engine,
) -> Result<(), Box<EvalAltResult>>
Expand description

Register Git module functions with the Rhai engine

§Arguments

  • engine - The Rhai engine to register the functions with

§Returns

  • Result<(), Box<EvalAltResult>> - Ok if registration was successful, Err otherwise