General code refactor.

This commit is contained in:
2021-08-17 21:23:10 +01:00
parent 4fcaeffc85
commit 75edb759e6
513 changed files with 38377 additions and 48553 deletions

View File

@@ -43,9 +43,7 @@ using Marshal = Aaru.Helpers.Marshal;
namespace Aaru.Filesystems
{
/// <inheritdoc />
/// <summary>
/// Implements detection of the Flash-Friendly File System (F2FS)
/// </summary>
/// <summary>Implements detection of the Flash-Friendly File System (F2FS)</summary>
[SuppressMessage("ReSharper", "UnusedMember.Local")]
public sealed class F2FS : IFilesystem
{
@@ -55,18 +53,19 @@ namespace Aaru.Filesystems
const uint F2FS_MIN_SECTOR = 512;
const uint F2FS_MAX_SECTOR = 4096;
const uint F2FS_BLOCK_SIZE = 4096;
// ReSharper restore InconsistentNaming
/// <inheritdoc />
public FileSystemType XmlFsType { get; private set; }
/// <inheritdoc />
public Encoding Encoding { get; private set; }
public Encoding Encoding { get; private set; }
/// <inheritdoc />
public string Name => "F2FS Plugin";
public string Name => "F2FS Plugin";
/// <inheritdoc />
public Guid Id => new Guid("82B0920F-5F0D-4063-9F57-ADE0AE02ECE5");
public Guid Id => new Guid("82B0920F-5F0D-4063-9F57-ADE0AE02ECE5");
/// <inheritdoc />
public string Author => "Natalia Portillo";
public string Author => "Natalia Portillo";
/// <inheritdoc />
public bool Identify(IMediaImage imagePlugin, Partition partition)