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:
parent
8abd5b5990
commit
99b18e6a84
13
Program.cs
13
Program.cs
|
|
@ -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);
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user