Пример #1
0
 private static IReadOnlyList <string> OnlyDeleteFiles(DeleteConfiguration config)
 => FileSystem.GetOldFiles(config)
 .DeleteOldFiles()
 .GetErrors();
Пример #2
0
 private static IReadOnlyList <string> DeleteFilesAndDeleteAllEmptyFolders(DeleteConfiguration config)
 => FileSystem.GetOldFiles(config)
 .DeleteOldFiles()
 .DeleteAllEmptyFolders()
 .GetErrors();