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.
recyclarr/src/TrashLib/Repo/VersionControl/GitPath.cs

17 lines
370 B

using TrashLib.Config.Settings;
namespace 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.Repository.GitPath ?? Default;
}