General cleanup and refactor.

This commit is contained in:
2022-03-07 07:36:44 +00:00
parent bc6e432565
commit 762e3eb6d2
1321 changed files with 44657 additions and 45479 deletions

View File

@@ -30,22 +30,30 @@
// Copyright © 2011-2022 Natalia Portillo
// ****************************************************************************/
using System;
// ReSharper disable InconsistentNaming
namespace Aaru.Filesystems;
using System;
// Information from Inside Macintosh
// https://developer.apple.com/legacy/library/documentation/mac/pdf/Files/File_Manager.pdf
internal static partial class AppleCommon
static partial class AppleCommon
{
[Flags]
internal enum VolumeAttributes : ushort
{
HardwareLock = 0x80, Unmounted = 0x100, SparedBadBlocks = 0x200,
DoesNotNeedCache = 0x400, BootInconsistent = 0x800, ReusedIds = 0x1000,
Journaled = 0x2000, Inconsistent = 0x4000, SoftwareLock = 0x8000
HardwareLock = 0x80,
Unmounted = 0x100,
SparedBadBlocks = 0x200,
DoesNotNeedCache = 0x400,
BootInconsistent = 0x800,
ReusedIds = 0x1000,
Journaled = 0x2000,
Inconsistent = 0x4000,
SoftwareLock = 0x8000
}
[Flags]
@@ -82,7 +90,9 @@ internal static partial class AppleCommon
internal enum FinderFolder : short
{
fTrash = -3, fDesktop = -2, fDisk = 0
fTrash = -3,
fDesktop = -2,
fDisk = 0
}
[Flags]