pub fn stray_lockfiles(untracked: &[String], tracked: &[String]) -> Vec<Stray>Expand description
Which of the newly created untracked files are lockfiles of a manager the
repo does not use in that directory.
Foreign means: a lockfile of the same ecosystem but another manager is
already tracked in the same directory (no recursion — a workspace root and
a sub-package may legitimately differ), or, for Cargo.lock, there is no
Cargo.toml beside it. A first lockfile in a directory with none is normal.