parent
b8ac93a464
commit
da35eef1ed
@ -1,9 +1,10 @@
|
|||||||
using System.IO.Abstractions;
|
using System.IO.Abstractions;
|
||||||
|
using Recyclarr.TrashLib.Settings;
|
||||||
|
|
||||||
namespace Recyclarr.TrashLib.Repo;
|
namespace Recyclarr.TrashLib.Repo;
|
||||||
|
|
||||||
public interface IRepoUpdater
|
public interface IRepoUpdater
|
||||||
{
|
{
|
||||||
IDirectoryInfo RepoPath { get; }
|
IDirectoryInfo RepoPath { get; }
|
||||||
Task UpdateRepo();
|
Task UpdateRepo(IRepositorySettings repoSettings);
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
namespace Recyclarr.TrashLib.Settings;
|
||||||
|
|
||||||
|
public interface IRepositorySettings
|
||||||
|
{
|
||||||
|
Uri CloneUrl { get; }
|
||||||
|
string Branch { get; }
|
||||||
|
string? Sha1 { get; }
|
||||||
|
}
|
Loading…
Reference in new issue