General code cleanup and style refactor.

This commit is contained in:
2022-11-15 15:58:43 +00:00
parent f59ecffb59
commit 2f9b7fe0a1
1324 changed files with 36815 additions and 37688 deletions

View File

@@ -30,8 +30,6 @@
// Copyright © 2011-2022 Natalia Portillo
// ****************************************************************************/
namespace Aaru.Filesystems.LisaFS;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -40,6 +38,8 @@ using Aaru.CommonTypes.Structs;
using Aaru.Decoders;
using Aaru.Helpers;
namespace Aaru.Filesystems.LisaFS;
public sealed partial class LisaFS
{
/// <inheritdoc />
@@ -112,7 +112,7 @@ public sealed partial class LisaFS
if(error != ErrorNumber.NoError)
return error;
var offset = 0;
int offset = 0;
List<CatalogEntryV2> catalogV2 = new();
// For each entry on the catalog
@@ -257,7 +257,7 @@ public sealed partial class LisaFS
// Foreach catalog block
foreach(byte[] buf in catalogBlocks)
{
var offset = 0;
int offset = 0;
// Traverse all entries
while(offset + 64 <= buf.Length)