Size: 480 B Modified: 23/06/2026 6:23 PM
using KaiChat.Models;

namespace KaiChat.Services;

public interface IFileService
{
    List<FileItem> GetDirectoryContents(string relativePath = "");
    string ReadFile(string relativePath);
    Task WriteFileAsync(string relativePath, string content);
    Task DeleteFileAsync(string relativePath);
    Task RenameFileAsync(string sourcePath, string destPath);
    string? GetRelativePath(string fullPath);
    string Combine(string relativePath, string name);
}
Offline