mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-05 22:01:33 +00:00
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
34 lines
1.2 KiB
C#
34 lines
1.2 KiB
C#
namespace SabreTools.Data.Models.PKZIP
|
|
{
|
|
/// <summary>
|
|
/// The unix modified time, last access time, and creation time, if set
|
|
/// </summary>
|
|
/// <remarks>Header ID = 0x5455</remarks>
|
|
/// <see href="https://github.com/adamhathcock/sharpcompress/blob/master/src/SharpCompress/Common/Zip/Headers/LocalEntryHeaderExtraFactory.cs"/>
|
|
public class ExtendedTimestampExtraField : ExtensibleDataField
|
|
{
|
|
/// <summary>
|
|
/// Indicates what tiemstamps are included
|
|
/// </summary>
|
|
public RecordedTimeFlag Flags { get; set; }
|
|
|
|
/// <summary>
|
|
/// Last modified time
|
|
/// </summary>
|
|
/// <remarks>Only available when <see cref="RecordedTimeFlag.LastModified"/> is set</remarks>
|
|
public uint? LastModified { get; set; }
|
|
|
|
/// <summary>
|
|
/// Last accessed time
|
|
/// </summary>
|
|
/// <remarks>Only available when <see cref="RecordedTimeFlag.LastAccessed"/> is set</remarks>
|
|
public uint? LastAccessed { get; set; }
|
|
|
|
/// <summary>
|
|
/// Created on time
|
|
/// </summary>
|
|
/// <remarks>Only available when <see cref="RecordedTimeFlag.Created"/> is set</remarks>
|
|
public uint? CreatedOn { get; set; }
|
|
}
|
|
}
|