if I replace 1 file with another file than the compareLastModifiedTime method won't work if the new file was modified earlier. I think this method should also check the birthtime from the stats
My suggestion is to replace this:
Math.floor(sourceFile.stat.mtimeMs) > Math.floor(targetStat.mtimeMs)
Hi,
if I replace 1 file with another file than the compareLastModifiedTime method won't work if the new file was modified earlier. I think this method should also check the birthtime from the stats
My suggestion is to replace this:
Math.floor(sourceFile.stat.mtimeMs) > Math.floor(targetStat.mtimeMs)
With something like this: