feature: mark deleted repository and auto remove it after scan default clone dir (#576)

This commit is contained in:
leo 2024-10-20 20:42:14 +08:00
parent 9668efbd8c
commit 0539a94cbe
No known key found for this signature in database
4 changed files with 45 additions and 8 deletions

View file

@ -56,12 +56,9 @@ namespace SourceGit.ViewModels
var group = FindOrCreateGroupRecursive(Preference.Instance.RepositoryNodes, relative);
Preference.Instance.FindOrAddNodeByRepositoryPath(f, group, false);
}
else
{
// Should not happen.
}
}
Preference.Instance.AutoRemoveInvalidNode();
Welcome.Instance.Refresh();
});