private static void RemoveMissing(IPersist persister) { if (persister == null) { return; } var files = persister.RecentFiles(int.MaxValue).ToArray(); foreach (var f in files) { if (System.IO.File.Exists(f)) { continue; } persister.RemoveFile(f, int.MaxValue); } }
public void RemoveFile(string filepath, int max) { _Parent.RemoveFile(filepath, max); }