adds message when md5 sum changed
All checks were successful
PiwigoDirectorySync/pipeline/head This commit looks good
All checks were successful
PiwigoDirectorySync/pipeline/head This commit looks good
This commit is contained in:
parent
c57d43211e
commit
8f290f5ef4
@ -70,6 +70,7 @@ internal class FileIndexer : IFileIndexer
|
||||
|
||||
if (image.LastChange != fileInfo.LastWriteTimeUtc)
|
||||
{
|
||||
_logger.Information("Calculating md5 sum for file {FullFilePath}", fullFilePath);
|
||||
image.UploadRequired = true;
|
||||
image.Md5Sum = await FilesystemHelpers.CalculateMd5SumAsync(fullFilePath, ct);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user