2022-09-05 22:42:41 +02:00
|
|
|
|
namespace Giants.Services
|
|
|
|
|
{
|
|
|
|
|
using Giants.DataContract.V1;
|
2022-09-09 07:31:24 +02:00
|
|
|
|
using System.Collections.Generic;
|
2022-09-05 22:42:41 +02:00
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
public interface IVersioningService
|
|
|
|
|
{
|
2022-09-09 07:31:24 +02:00
|
|
|
|
Task<IEnumerable<string>> GetBranches(string appName);
|
2022-09-05 22:42:41 +02:00
|
|
|
|
|
2022-09-09 07:31:24 +02:00
|
|
|
|
Task<VersionInfo> GetVersionInfo(string appName, string branchName);
|
|
|
|
|
|
|
|
|
|
Task UpdateVersionInfo(string appName, AppVersion appVersion, string fileName, string branchName, bool force);
|
2022-09-05 22:42:41 +02:00
|
|
|
|
}
|
|
|
|
|
}
|