fix(files): report success cancellation and errors with safe next actions (U02)
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
using Duempelkas.App.Services.Models;
|
||||
|
||||
namespace Duempelkas.App.Services;
|
||||
|
||||
public interface IFileSaveService
|
||||
{
|
||||
Task<string?> SaveFileAsync(byte[] content, string suggestedFileName);
|
||||
Task OpenFileAsync(string filePath);
|
||||
Task<FileOperationResult> SaveFileAsync(byte[] content, string suggestedFileName);
|
||||
Task<FileOperationResult> OpenFileAsync(string filePath);
|
||||
Task<FileOperationResult> OpenFolderAsync(string filePath);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user