M Data/NosSmooth.Data.NOSFiles/Errors/UnknownFileTypeError.cs => Data/NosSmooth.Data.NOSFiles/Errors/UnknownFileTypeError.cs +4 -0
@@ 9,4 9,8 @@ using Remora.Results;
namespace NosSmooth.Data.NOSFiles.Errors;
+/// <summary>
+/// The file type of the file does not have a reader registered.
+/// </summary>
+/// <param name="file">The file.</param>
public record UnknownFileTypeError(RawFile file) : NotFoundError($"Could not find reader for the given file {file.Path}.");=
\ No newline at end of file
M Data/NosSmooth.Data.NOSFiles/Files/RawFile.cs => Data/NosSmooth.Data.NOSFiles/Files/RawFile.cs +7 -0
@@ 10,6 10,13 @@ using System.Security.Cryptography;
namespace NosSmooth.Data.NOSFiles.Files;
+/// <summary>
+/// A file.
+/// </summary>
+/// <param name="FileType">The type of the file, if known.</param>
+/// <param name="Path">The path to the file.</param>
+/// <param name="Length">The length of the content.</param>
+/// <param name="Content">The binary content of the file.</param>
[SuppressMessage("StyleCop.CSharp.NamingRules", "SA1313:Parameter names should begin with lower-case letter", Justification = "Upper case is standard.")]
public record struct RawFile
(