namespace SabreTools.Data.Models.UDF { /// /// UDF File Entry (4/14.9), the ICB describing a file or directory and where its data is recorded /// /// public class FileEntry : Descriptor { /// /// ICB tag /// public ICBTag ICBTag { get; set; } = new(); /// /// User ID /// public uint Uid { get; set; } /// /// Group ID /// public uint Gid { get; set; } /// /// Permissions /// public uint Permissions { get; set; } /// /// Number of File Identifier Descriptors identifying this ICB /// public ushort FileLinkCount { get; set; } /// /// Record format /// public byte RecordFormat { get; set; } /// /// Record display attributes /// public byte RecordDisplayAttributes { get; set; } /// /// Record length /// public uint RecordLength { get; set; } /// /// Size of the file in bytes /// public ulong InformationLength { get; set; } /// /// Number of recorded logical blocks /// public ulong LogicalBlocksRecorded { get; set; } /// /// Access date and time /// public Timestamp AccessDateAndTime { get; set; } = new(); /// /// Modification date and time /// public Timestamp ModificationDateAndTime { get; set; } = new(); /// /// Attribute date and time /// public Timestamp AttributeDateAndTime { get; set; } = new(); /// /// Checkpoint /// public uint Checkpoint { get; set; } /// /// ICB of the extended attributes, length 0 if none /// public LongAllocationDescriptor ExtendedAttributeICB { get; set; } = new(); /// /// Implementation identifier /// public EntityIdentifier ImplementationIdentifier { get; set; } = new(); /// /// Unique ID /// public ulong UniqueID { get; set; } /// /// Length of the extended attributes in bytes /// public uint LengthOfExtendedAttributes { get; set; } /// /// Length of the allocation descriptors in bytes /// public uint LengthOfAllocationDescriptors { get; set; } /// /// Extended attributes /// public byte[] ExtendedAttributes { get; set; } = []; /// /// Allocation descriptors of the type given in the ICB tag flags, /// or the file data itself if the type is AllocationDescriptorType.EMBEDDED /// public byte[] AllocationDescriptors { get; set; } = []; } }