Skip to main content

upsert

Function upsert 

Source
pub fn upsert(project_root: &Path, entry: LockedPackage) -> Result<(), String>
Expand description

Insert or replace the entry for entry.name, keeping the file sorted.