basic implementation, tabling for now

This commit is contained in:
2020-05-01 06:44:48 -04:00
committed by John K. Luebs
parent 1a394ddb31
commit 60d093dbad
11 changed files with 210 additions and 140 deletions

View File

@@ -8,7 +8,7 @@ namespace Foodsoft.Alpm
public string Name { get; }
public long Size { get; }
public uint Mode { get; }
public int Mode { get; }
[StructLayout(LayoutKind.Sequential)]
internal readonly unsafe struct NativeFile
@@ -23,7 +23,7 @@ namespace Foodsoft.Alpm
var native = (NativeFile*) ptr;
Name = new string(native->Name);
Size = native->size;
Mode = native->mode;
Mode = (int) native->mode;
}
}
}