18 lines
416 B
C#
18 lines
416 B
C#
namespace ThreadPilot.Services.Abstractions
|
|
{
|
|
using System.Threading.Tasks;
|
|
|
|
public interface ISettingsStorage
|
|
{
|
|
bool Exists(string path);
|
|
|
|
Task<string?> ReadAsync(string path);
|
|
|
|
Task WriteAsync(string path, string content);
|
|
|
|
void EnsureDirectoryForFile(string path);
|
|
|
|
void Copy(string sourcePath, string destinationPath, bool overwrite);
|
|
}
|
|
}
|