mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-04 16:10:16 -04:00
13 lines
383 B
C#
13 lines
383 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ModernKeePass.Application.Common.Interfaces
|
|
{
|
|
public interface IFileProxy
|
|
{
|
|
Task<byte[]> OpenBinaryFile(string path);
|
|
Task<IList<string>> OpenTextFile(string path);
|
|
Task WriteBinaryContentsToFile(string path, byte[] contents);
|
|
void ReleaseFile(string path);
|
|
}
|
|
} |