Code cleanup.

This commit is contained in:
2018-06-22 08:08:38 +01:00
parent 82f474c7e3
commit 88da8fc019
581 changed files with 22423 additions and 20839 deletions

View File

@@ -36,39 +36,39 @@ namespace DiscImageChef.Filesystems.ISO9660
{
public partial class ISO9660
{
const ushort RRIP_MAGIC = 0x5252; // "RR"
const ushort RRIP_MAGIC = 0x5252; // "RR"
const ushort RRIP_POSIX_ATTRIBUTES = 0x5058; // "PX"
const ushort RRIP_POSIX_DEV_NO = 0x504E; // "PN"
const ushort RRIP_SYMLINK = 0x534C; // "SL"
const ushort RRIP_NAME = 0x4E4D; // "NM"
const ushort RRIP_CHILDLINK = 0x434C; // "CL"
const ushort RRIP_PARENTLINK = 0x504C; // "PL"
const ushort RRIP_RELOCATED_DIR = 0x5245; // "RE"
const ushort RRIP_TIMESTAMPS = 0x5446; // "TF"
const ushort RRIP_SPARSE = 0x5346; // "SF"
const ushort RRIP_POSIX_DEV_NO = 0x504E; // "PN"
const ushort RRIP_SYMLINK = 0x534C; // "SL"
const ushort RRIP_NAME = 0x4E4D; // "NM"
const ushort RRIP_CHILDLINK = 0x434C; // "CL"
const ushort RRIP_PARENTLINK = 0x504C; // "PL"
const ushort RRIP_RELOCATED_DIR = 0x5245; // "RE"
const ushort RRIP_TIMESTAMPS = 0x5446; // "TF"
const ushort RRIP_SPARSE = 0x5346; // "SF"
[Flags]
enum PosixMode : uint
{
OwnerRead = 0x100,
OwnerWrite = 0x80,
OwnerRead = 0x100,
OwnerWrite = 0x80,
OwnerExecute = 0x40,
GroupRead = 0x20,
GroupWrite = 0x10,
GroupRead = 0x20,
GroupWrite = 0x10,
GroupExecute = 0x8,
OtherRead = 0x4,
OtherWrite = 0x2,
OtherRead = 0x4,
OtherWrite = 0x2,
OtherExecute = 0x1,
SetUID = 0x800,
SetGid = 0x400,
IsVTX = 0x200,
Socket = 0xC000,
Symlink = 0xA000,
Regular = 0x8000,
Block = 0x6000,
Character = 0x2000,
Directory = 0x4000,
Pipe = 0x1000
SetUID = 0x800,
SetGid = 0x400,
IsVTX = 0x200,
Socket = 0xC000,
Symlink = 0xA000,
Regular = 0x8000,
Block = 0x6000,
Character = 0x2000,
Directory = 0x4000,
Pipe = 0x1000
}
[Flags]
@@ -80,34 +80,34 @@ namespace DiscImageChef.Filesystems.ISO9660
[Flags]
enum SymlinkComponentFlags : byte
{
Continue = 1,
Current = 2,
Parent = 4,
Root = 8,
Mountpoint = 16,
Continue = 1,
Current = 2,
Parent = 4,
Root = 8,
Mountpoint = 16,
Networkname = 32
}
[Flags]
enum AlternateNameFlags : byte
{
Continue = 1,
Current = 2,
Parent = 4,
Continue = 1,
Current = 2,
Parent = 4,
Networkname = 32
}
[Flags]
enum TimestampFlags : byte
{
Creation = 1 << 0,
Modification = 1 << 1,
Access = 1 << 2,
Creation = 1 << 0,
Modification = 1 << 1,
Access = 1 << 2,
AttributeChange = 1 << 3,
Backup = 1 << 4,
Expiration = 1 << 5,
Effective = 1 << 6,
LongFormat = 1 << 7
Backup = 1 << 4,
Expiration = 1 << 5,
Effective = 1 << 6,
LongFormat = 1 << 7
}
}
}