Commented out functionality for creating metadata.

This should be done before program exit and as such is currently
in a comment after the main class body.

TODO: add this back in at the appropriate location.
This commit is contained in:
Robert Morrison 2022-06-21 22:40:31 +01:00
parent 8abd5b5990
commit 99b18e6a84
Signed by: robert
GPG Key ID: 73E012EB3F4EC696

View File

@ -312,3 +312,16 @@ class Program
return false; return false;
} }
} }
// if (!File.Exists($"{_inputDirectory}/.files"))
// {
// Log.Information("Creating metadata for {src}",_inputDirectory);
// metadata = new();
// foreach (var file in ConvertableInputFiles)
// {
// FileInfo info = new FileInfo(file);
// DateTime LastMod = info.LastWriteTimeUtc;
// metadata.Add(file,LastMod);
// string metaJSON = JsonSerializer.Serialize(metadata);
// File.WriteAllText($"{_inputDirectory}/.files",metaJSON);
// }
// }