mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-01-16 17:10:21 -05:00
Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com> Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
19 lines
381 B
C#
19 lines
381 B
C#
using API.Entities;
|
|
|
|
namespace API.Helpers.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
|
|
};
|
|
}
|
|
}
|