file-exposer/Models/Segment.cs
2025-05-10 13:31:06 -07:00

15 lines
403 B
C#

using System.Text.Json.Serialization;
namespace FileExposer.Models;
public record Segment(Record? Left,
string? LeftDirectory,
Record? Right,
string RightDirectory);
[JsonSourceGenerationOptions(WriteIndented = true)]
[JsonSerializable(typeof(Segment))]
public partial class SegmentSourceGenerationContext : JsonSerializerContext
{
}