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/Recyclarr/Code/Settings/ResourcePaths.cs

18 lines
423 B

using Recyclarr.Code.Settings.Persisters;
using TrashLib.Config;
namespace Recyclarr.Code.Settings
{
public class ResourcePaths : IResourcePaths
{
private readonly AppSettings _appSettings;
public ResourcePaths(IAppSettingsPersister appSettingsPersister)
{
_appSettings = appSettingsPersister.Load();
}
public string RepoPath => _appSettings.RepoPath;
}
}