Files
LightlessClient/LightlessCompactor/FileCache/CompactorInterfaces.cs
2026-01-16 11:00:58 +09:00

19 lines
367 B
C#

namespace LightlessSync.FileCache;
public interface ICompactorContext
{
bool UseCompactor { get; }
string CacheFolder { get; }
bool IsWine { get; }
}
public interface ICompactionExecutor
{
bool TryCompact(string filePath);
}
public sealed class NoopCompactionExecutor : ICompactionExecutor
{
public bool TryCompact(string filePath) => false;
}