Whether a backup exists for file.
file
bool hasBackup(File file) { final relativePath = p.relative(file.path, from: projectDir); return File(p.join(_backupRoot.path, relativePath)).existsSync(); }