namespace CommanderApp.Services; public interface IFileOperations { Task CopyAsync(string sourcePath, string targetPath, bool overwrite = true); Task MoveAsync(string sourcePath, string targetPath, bool overwrite = true); Task DeleteAsync(string path); Task CreateDirectoryAsync(string path); Task OpenFileAsync(string filePath); Task CopyDirectoryAsync(string sourceDir, string targetDir); } public class FileOperationResult { public bool Success { get; set; } public string Message { get; set; } = string.Empty; public Exception Exception { get; set; } }