Flow.Launcher/Flow.Launcher.Infrastructure/Storage/PluginBinaryStorage.cs

16 lines
433 B
C#
Raw Normal View History

2025-04-01 06:16:32 +00:00
using System.IO;
namespace Flow.Launcher.Infrastructure.Storage
{
public class PluginBinaryStorage<T> : BinaryStorage<T> where T : new()
{
public PluginBinaryStorage(string cacheName, string cacheDirectory)
{
DirectoryPath = cacheDirectory;
Helper.ValidateDirectory(DirectoryPath);
FilePath = Path.Combine(DirectoryPath, $"{cacheName}{FileSuffix}");
}
}
}