using System;
//[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("UnitTests")]
namespace AMWD.Common.Packing.Ar
{
///
/// Represents the file information saved in the archive.
///
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
public class ArFileInfo
{
///
/// Gets or sets the file name.
///
public string FileName { get; set; }
///
/// Gets or sets the file size in bytes.
///
public long FileSize { get; set; }
///
/// Gets or sets the timestamp of the last modification.
///
public DateTime ModifyTime { get; set; }
///
/// Gets or sets the user id.
///
public int UserId { get; set; }
///
/// Gets or sets the group id.
///
public int GroupId { get; set; }
///
/// Gets or sets the access mode in decimal (not octal!).
///
///
/// To see the octal representation use Convert.ToString(Mode, 8).
///
public int Mode { get; set; }
}
internal class ArFileInfoExtended : ArFileInfo
{
public long HeaderPosition { get; set; }
public long DataPosition { get; set; }
}
}