15 lines
423 B
C#
15 lines
423 B
C#
using System.Diagnostics.CodeAnalysis;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace Foodsoft.Alpm
|
|
{
|
|
[SuppressMessage("ReSharper", "UnassignedGetOnlyAutoProperty")]
|
|
public readonly struct File
|
|
{
|
|
[field: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(UTF8OutMarshaler))]
|
|
public string Name { get; }
|
|
|
|
public long Size { get; }
|
|
public uint Mode { get; }
|
|
}
|
|
} |