You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
372 B
17 lines
372 B
using Recyclarr.TrashLib.Settings;
|
|
|
|
namespace Recyclarr.TrashLib.Repo.VersionControl;
|
|
|
|
public class GitPath : IGitPath
|
|
{
|
|
private readonly ISettingsProvider _settings;
|
|
|
|
public GitPath(ISettingsProvider settings)
|
|
{
|
|
_settings = settings;
|
|
}
|
|
|
|
public static string Default => "git";
|
|
public string Path => _settings.Settings.GitPath ?? Default;
|
|
}
|