flake_lock

Function flake_lock 

Source
pub unsafe extern "C" fn flake_lock(
    context: *mut c_context,
    fetchSettings: *mut fetchers_settings,
    settings: *mut flake_settings,
    eval_state: *mut EvalState,
    flags: *mut flake_lock_flags,
    flake: *mut flake_reference,
) -> *mut locked_flake
Expand description

@brief Lock a flake, if not already locked. @param[out] context Optional, stores error information @param[in] settings The flake (and fetch) settings to use @param[in] flags The locking flags to use @param[in] flake The flake to lock