Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright © 2025 traperto GmbH
Copyright © 2026 traperto GmbH

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
4 changes: 2 additions & 2 deletions MagicBytesValidator.Tests/MagicBytesValidator.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.3">
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
Expand Down
8 changes: 1 addition & 7 deletions MagicBytesValidator.Tests/MappingRegister.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,13 @@ public void Should_register_single_filetype()
[Fact]
public void Should_register_list_filetype()
{
var cusDbcLaikaFileType = new TestFileType(
["traperto/laikaschmidt"],
["ls"]
).StartsWith([0x6e, 0x69, 0x6b, 0x6c, 0x61, 0x73, 0x73, 0x63, 0x68, 0x6d, 0x69, 0x64, 0x74]);

var kryptobiFileType = new TestFileType(
["traperto/tobiasjanssen"],
["tjn"]
).StartsWith([0x74, 0x6f, 0x62, 0x69, 0x61, 0x73, 0x6a, 0x61, 0x6e, 0x73, 0x73, 0x65, 0x6e]);

_mapping.Register([cusDbcLaikaFileType, kryptobiFileType]);
_mapping.Register([kryptobiFileType]);
Assert.Contains(kryptobiFileType, _mapping.FileTypes);
Assert.Contains(cusDbcLaikaFileType, _mapping.FileTypes);
}

[Fact]
Expand Down
2 changes: 1 addition & 1 deletion MagicBytesValidator.Tools/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ private static void PrintHelp()
- help
Shows this help

(traperto GmbH, 2024)
(traperto GmbH, 2026)
""");
}
}
2 changes: 1 addition & 1 deletion MagicBytesValidator/MagicBytesValidator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<PackageProjectUrl>https://github.com/Traperto/magic-bytes-validator/blob/main/README.md</PackageProjectUrl>
<PackageTags>mime mimetype mimetypes magic magicbyte magicbytes extension extensions file
fileextension traperto trapertoGmbh
TobiasJanssen LaikaSchmidt MaximilianBreuker
TobiasJanssen MaximilianBreuker
</PackageTags>
<RepositoryUrl>https://github.com/Traperto/magic-bytes-validator</RepositoryUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
Expand Down
Loading
Loading