code cleanup

This commit is contained in:
Holger Börchers 2022-12-01 14:07:25 +01:00
parent 99ab384ade
commit e705d0d286
2 changed files with 111 additions and 113 deletions

View File

@ -6,10 +6,10 @@ using Serilog;
using ShellProgressBar; using ShellProgressBar;
using Directory = System.IO.Directory; using Directory = System.IO.Directory;
namespace PhotoRenamer namespace PhotoRenamer;
internal class Renamer
{ {
internal class Renamer
{
private readonly ProgressBarOptions _childOptions; private readonly ProgressBarOptions _childOptions;
private readonly string _sourcePath; private readonly string _sourcePath;
private readonly string _targetPath; private readonly string _targetPath;
@ -123,5 +123,4 @@ namespace PhotoRenamer
return folder; return folder;
} }
}
} }

View File

@ -1,4 +1,3 @@
namespace PhotoRenamer.Types namespace PhotoRenamer.Types;
{
public record MediaFile(string Path, DateTime CreationDate); public record MediaFile(string Path, DateTime CreationDate);
}