Function inside_a_watched_root

Source
pub fn inside_a_watched_root(
    catalog: &Catalog,
    destination: &Path,
) -> Option<String>
Expand description

true when a destination sits inside a folder the catalog watches.

Copying a library into itself is not a mistake to warn about afterwards: the next scan reads the copies as new files, the catalog doubles, and doctor reports every album as a duplicate of itself. Refused before anything is written.