mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-03-10 20:15:26 -04:00
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com> Co-authored-by: Joe Milazzo <josephmajora@gmail.com>
19 lines
393 B
C#
19 lines
393 B
C#
using Kavita.Models.Entities;
|
|
|
|
namespace Kavita.Models.Builders;
|
|
|
|
public class FolderPathBuilder : IEntityBuilder<FolderPath>
|
|
{
|
|
private readonly FolderPath _folderPath;
|
|
public FolderPath Build() => _folderPath;
|
|
|
|
public FolderPathBuilder(string directory)
|
|
{
|
|
_folderPath = new FolderPath()
|
|
{
|
|
Path = directory,
|
|
Id = 0
|
|
};
|
|
}
|
|
}
|