pub fn write(root: &Path, binds: &Binds) -> Result<(), String>
Persist binds to root’s lockfile as stable, pretty-printed JSON.
binds
root