Skip to main content

update_input

Function update_input 

Source
pub fn update_input(
    flake_dir: &Path,
    input_name: &str,
) -> Result<(), FlakeLockUpdateError>
Expand description

Update a single input in a flake.lock file to its latest revision.

Reads the lock file, resolves the latest commit for the named input, updates the locked section, and writes the file back.