namespace Journal.Core.Repositories;

public interface IEntryFileRepository
{
    IReadOnlyList<string> ListMarkdownFiles();
    string ReadFile(string filePath);
    void WriteFile(string filePath, string content);
    void AppendFile(string filePath, string content);
    bool FileExists(string filePath);
    string GetFullPath(string filePath);
    string GetFileName(string filePath);
    string GetFileNameWithoutExtension(string filePath);
    void EnsureDirectory(string path);
    void DeleteFile(string filePath);
}
