mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-03-25 18:31:23 -04:00
17 lines
444 B
C#
17 lines
444 B
C#
using FileManager;
|
|
|
|
namespace AaxDecrypter;
|
|
|
|
public record TempFile
|
|
{
|
|
public LongPath FilePath { get; init; }
|
|
public string Extension { get; }
|
|
public MultiConvertFileProperties? PartProperties { get; init; }
|
|
public TempFile(LongPath filePath, string? extension = null)
|
|
{
|
|
FilePath = filePath;
|
|
extension ??= System.IO.Path.GetExtension(filePath);
|
|
Extension = FileUtility.GetStandardizedExtension(extension).ToLowerInvariant();
|
|
}
|
|
}
|