From 99b18e6a84ce7da5799338d9aa0dea8d183199cc Mon Sep 17 00:00:00 2001 From: Robert Morrison Date: Tue, 21 Jun 2022 22:40:31 +0100 Subject: [PATCH] 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. --- Program.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Program.cs b/Program.cs index ad9557b..d4a9119 100644 --- a/Program.cs +++ b/Program.cs @@ -312,3 +312,16 @@ class Program 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); + // } + // }