using System.Diagnostics;
namespace FileFlows.BasicNodes.Helpers;
///
/// File Helper
///
public static class FileHelper
{
///
/// Sets the last write time of a file
///
/// the file path
/// the UTC to set
public static void SetLastWriteTime(string filePath, DateTime utcDate)
=> System.IO.File.SetLastWriteTimeUtc(filePath, utcDate);
///
/// Sets the last write time of a file
///
/// the file path
/// the UTC to set
public static void SetCreationTime(string filePath, DateTime utcDate)
=> System.IO.File.SetCreationTimeUtc(filePath, utcDate);
}