pub fn adopt(opts: &AdoptOpts) -> Result<AdoptReport, AdoptError>Expand description
Import opts.dst into the repo and record it in the manifest.
The file at dst is copied (not moved) to <repo_path>/<src>. A manifest
entry is created with hash_src = hash_dst = sha256(file). The original
file at dst is left in place.
Returns an AdoptReport with a ready-to-paste [[link]] block.