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.