DocSpace-client/common/ASC.Data.Backup.Core/Storage/IBackupStorage.cs

11 lines
331 B
C#
Raw Normal View History

namespace ASC.Data.Backup.Storage;
public interface IBackupStorage
2020-05-20 15:14:44 +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
}