2022-02-09 18:49:52 +00:00
|
|
|
namespace ASC.Data.Backup.Storage;
|
|
|
|
|
|
|
|
public interface IBackupStorage
|
2020-05-20 15:14:44 +00:00
|
|
|
{
|
2022-02-09 18:49:52 +00:00
|
|
|
bool IsExists(string storagePath);
|
|
|
|
string GetPublicLink(string storagePath);
|
2022-02-16 10:14:00 +00:00
|
|
|
string Upload(string storageBasePath, string localPath, Guid userId);
|
|
|
|
void Delete(string storagePath);
|
|
|
|
void Download(string storagePath, string targetLocalPath);
|
2020-05-20 15:14:44 +00:00
|
|
|
}
|