Files
dotnet-packaging/Packaging.Targets/IO/IArchiveHeader.cs
Frederik Carlier 07d4a06625 Initial implementation of the ar (deb) file format
Introduce a commen base class, ArchiveFile, for CPIO and ar archives.
2017-10-06 21:36:13 +02:00

26 lines
603 B
C#

using System;
namespace Packaging.Targets.IO
{
/// <summary>
/// A common interface for the header of a file entry in an archive file.
/// </summary>
public interface IArchiveHeader
{
/// <summary>
/// Gets the file mode.
/// </summary>
LinuxFileMode FileMode { get; }
/// <summary>
/// Gets the date at which the file was last modified.
/// </summary>
DateTimeOffset LastModified { get; }
/// <summary>
/// Gets the size of the file.
/// </summary>
uint FileSize { get; }
}
}