Skip to content

Commit a029935

Browse files
committed
chg: type visibility & suppress analyzer
1 parent 2df34b8 commit a029935

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/TarHeader.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@
66

77
namespace SatorImaging.TarArchiver
88
{
9-
public class TarHeader
9+
internal class TarHeader
1010
{
1111
const int BLOCK_SIZE = 512;
1212
static readonly DateTime EPOCH = new(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
1313
static readonly Encoding ArchiveEncoding = Encoding.UTF8;
1414

15+
#pragma warning disable SMA0026 // Enum Obfuscation
16+
#pragma warning disable SMA0027 // Unusual Enum Definition
1517
enum EEntryType : byte
1618
{
1719
File = 0,
@@ -28,6 +30,8 @@ enum EEntryType : byte
2830
VolumeHeader = (byte)'V',
2931
GlobalExtendedHeader = (byte)'g'
3032
}
33+
#pragma warning restore SMA0027 // Unusual Enum Definition
34+
#pragma warning restore SMA0026 // Enum Obfuscation
3135

3236

3337
internal string Name { get; set; } = string.Empty;

0 commit comments

Comments
 (0)