pub fn save(dir: &Path, link: LocalLink) -> Result<()>
Saves link, replacing the entry for the same file.
link