mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Adjust to new Humanizer API surface.
This commit is contained in:
@@ -47,8 +47,6 @@ using Aaru.Decoders.ATA;
|
|||||||
using Aaru.Decoders.PCMCIA;
|
using Aaru.Decoders.PCMCIA;
|
||||||
using Aaru.Logging;
|
using Aaru.Logging;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
using Humanizer.Localisation;
|
|
||||||
using Identify = Aaru.CommonTypes.Structs.Devices.ATA.Identify;
|
using Identify = Aaru.CommonTypes.Structs.Devices.ATA.Identify;
|
||||||
using Tuple = Aaru.Decoders.PCMCIA.Tuple;
|
using Tuple = Aaru.Decoders.PCMCIA.Tuple;
|
||||||
using Version = Aaru.CommonTypes.Interop.Version;
|
using Version = Aaru.CommonTypes.Interop.Version;
|
||||||
|
|||||||
@@ -45,7 +45,6 @@ using Aaru.Core.Logging;
|
|||||||
using Aaru.Decoders.CD;
|
using Aaru.Decoders.CD;
|
||||||
using Aaru.Devices;
|
using Aaru.Devices;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
using Track = Aaru.CommonTypes.Structs.Track;
|
using Track = Aaru.CommonTypes.Structs.Track;
|
||||||
|
|
||||||
namespace Aaru.Core.Devices.Dumping;
|
namespace Aaru.Core.Devices.Dumping;
|
||||||
|
|||||||
@@ -49,7 +49,6 @@ using Aaru.Decoders.SCSI;
|
|||||||
using Aaru.Devices;
|
using Aaru.Devices;
|
||||||
using Aaru.Logging;
|
using Aaru.Logging;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
using Track = Aaru.CommonTypes.Structs.Track;
|
using Track = Aaru.CommonTypes.Structs.Track;
|
||||||
using TrackType = Aaru.CommonTypes.Enums.TrackType;
|
using TrackType = Aaru.CommonTypes.Enums.TrackType;
|
||||||
|
|
||||||
|
|||||||
@@ -51,8 +51,6 @@ using Aaru.Decoders.CD;
|
|||||||
using Aaru.Devices;
|
using Aaru.Devices;
|
||||||
using Aaru.Logging;
|
using Aaru.Logging;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
using Humanizer.Localisation;
|
|
||||||
using Spectre.Console;
|
using Spectre.Console;
|
||||||
using Track = Aaru.CommonTypes.Structs.Track;
|
using Track = Aaru.CommonTypes.Structs.Track;
|
||||||
using TrackType = Aaru.CommonTypes.Enums.TrackType;
|
using TrackType = Aaru.CommonTypes.Enums.TrackType;
|
||||||
|
|||||||
@@ -46,7 +46,6 @@ using Aaru.Core.Logging;
|
|||||||
using Aaru.Devices;
|
using Aaru.Devices;
|
||||||
using Aaru.Logging;
|
using Aaru.Logging;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
using Track = Aaru.CommonTypes.Structs.Track;
|
using Track = Aaru.CommonTypes.Structs.Track;
|
||||||
|
|
||||||
namespace Aaru.Core.Devices.Dumping;
|
namespace Aaru.Core.Devices.Dumping;
|
||||||
|
|||||||
@@ -47,7 +47,6 @@ using Aaru.Core.Graphics;
|
|||||||
using Aaru.Devices;
|
using Aaru.Devices;
|
||||||
using Aaru.Logging;
|
using Aaru.Logging;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
using SkiaSharp;
|
using SkiaSharp;
|
||||||
|
|
||||||
namespace Aaru.Core.Devices.Dumping;
|
namespace Aaru.Core.Devices.Dumping;
|
||||||
|
|||||||
@@ -47,7 +47,6 @@ using Aaru.Decoders.CD;
|
|||||||
using Aaru.Decoders.SCSI;
|
using Aaru.Decoders.SCSI;
|
||||||
using Aaru.Devices;
|
using Aaru.Devices;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Localisation;
|
|
||||||
using Track = Aaru.CommonTypes.Structs.Track;
|
using Track = Aaru.CommonTypes.Structs.Track;
|
||||||
|
|
||||||
namespace Aaru.Core.Devices.Dumping;
|
namespace Aaru.Core.Devices.Dumping;
|
||||||
|
|||||||
@@ -38,8 +38,6 @@ using Aaru.CommonTypes.Interfaces;
|
|||||||
using Aaru.Core.Graphics;
|
using Aaru.Core.Graphics;
|
||||||
using Aaru.Logging;
|
using Aaru.Logging;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
using Humanizer.Localisation;
|
|
||||||
using Version = Aaru.CommonTypes.Interop.Version;
|
using Version = Aaru.CommonTypes.Interop.Version;
|
||||||
|
|
||||||
namespace Aaru.Core.Devices.Dumping;
|
namespace Aaru.Core.Devices.Dumping;
|
||||||
|
|||||||
@@ -40,8 +40,6 @@ using Aaru.CommonTypes.Enums;
|
|||||||
using Aaru.CommonTypes.Interfaces;
|
using Aaru.CommonTypes.Interfaces;
|
||||||
using Aaru.Logging;
|
using Aaru.Logging;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
using Humanizer.Localisation;
|
|
||||||
|
|
||||||
namespace Aaru.Core.Devices.Dumping;
|
namespace Aaru.Core.Devices.Dumping;
|
||||||
|
|
||||||
|
|||||||
@@ -48,8 +48,6 @@ using Aaru.Decoders.SCSI;
|
|||||||
using Aaru.Devices;
|
using Aaru.Devices;
|
||||||
using Aaru.Logging;
|
using Aaru.Logging;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
using Humanizer.Localisation;
|
|
||||||
using Version = Aaru.CommonTypes.Interop.Version;
|
using Version = Aaru.CommonTypes.Interop.Version;
|
||||||
|
|
||||||
namespace Aaru.Core.Devices.Dumping;
|
namespace Aaru.Core.Devices.Dumping;
|
||||||
|
|||||||
@@ -48,8 +48,6 @@ using Aaru.Decoders.SCSI;
|
|||||||
using Aaru.Devices;
|
using Aaru.Devices;
|
||||||
using Aaru.Logging;
|
using Aaru.Logging;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
using Humanizer.Localisation;
|
|
||||||
using Version = Aaru.CommonTypes.Interop.Version;
|
using Version = Aaru.CommonTypes.Interop.Version;
|
||||||
|
|
||||||
namespace Aaru.Core.Devices.Dumping;
|
namespace Aaru.Core.Devices.Dumping;
|
||||||
|
|||||||
@@ -45,8 +45,6 @@ using Aaru.Decoders.SCSI;
|
|||||||
using Aaru.Devices;
|
using Aaru.Devices;
|
||||||
using Aaru.Logging;
|
using Aaru.Logging;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
using Humanizer.Localisation;
|
|
||||||
using Track = Aaru.CommonTypes.Structs.Track;
|
using Track = Aaru.CommonTypes.Structs.Track;
|
||||||
using TrackType = Aaru.CommonTypes.Enums.TrackType;
|
using TrackType = Aaru.CommonTypes.Enums.TrackType;
|
||||||
using Version = Aaru.CommonTypes.Interop.Version;
|
using Version = Aaru.CommonTypes.Interop.Version;
|
||||||
|
|||||||
@@ -50,8 +50,6 @@ using Aaru.Devices;
|
|||||||
using Aaru.Helpers;
|
using Aaru.Helpers;
|
||||||
using Aaru.Logging;
|
using Aaru.Logging;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
using Humanizer.Localisation;
|
|
||||||
using TapeFile = Aaru.CommonTypes.Structs.TapeFile;
|
using TapeFile = Aaru.CommonTypes.Structs.TapeFile;
|
||||||
using TapePartition = Aaru.CommonTypes.Structs.TapePartition;
|
using TapePartition = Aaru.CommonTypes.Structs.TapePartition;
|
||||||
using Version = Aaru.CommonTypes.Interop.Version;
|
using Version = Aaru.CommonTypes.Interop.Version;
|
||||||
|
|||||||
@@ -34,7 +34,6 @@ using Aaru.Core.Logging;
|
|||||||
using Aaru.Decryption.DVD;
|
using Aaru.Decryption.DVD;
|
||||||
using Aaru.Logging;
|
using Aaru.Logging;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
|
|
||||||
// ReSharper disable JoinDeclarationAndInitializer
|
// ReSharper disable JoinDeclarationAndInitializer
|
||||||
// ReSharper disable InlineOutVariableDeclaration
|
// ReSharper disable InlineOutVariableDeclaration
|
||||||
|
|||||||
@@ -37,7 +37,6 @@ using Aaru.Decryption;
|
|||||||
using Aaru.Decryption.DVD;
|
using Aaru.Decryption.DVD;
|
||||||
using Aaru.Logging;
|
using Aaru.Logging;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
using DVDDecryption = Aaru.Decryption.DVD.Dump;
|
using DVDDecryption = Aaru.Decryption.DVD.Dump;
|
||||||
|
|
||||||
// ReSharper disable JoinDeclarationAndInitializer
|
// ReSharper disable JoinDeclarationAndInitializer
|
||||||
|
|||||||
@@ -53,8 +53,6 @@ using Aaru.Decoders.SCSI.MMC;
|
|||||||
using Aaru.Devices;
|
using Aaru.Devices;
|
||||||
using Aaru.Logging;
|
using Aaru.Logging;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
using Humanizer.Localisation;
|
|
||||||
using DVDDecryption = Aaru.Decryption.DVD.Dump;
|
using DVDDecryption = Aaru.Decryption.DVD.Dump;
|
||||||
using Track = Aaru.CommonTypes.Structs.Track;
|
using Track = Aaru.CommonTypes.Structs.Track;
|
||||||
using TrackType = Aaru.CommonTypes.Enums.TrackType;
|
using TrackType = Aaru.CommonTypes.Enums.TrackType;
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ using Aaru.Core.Logging;
|
|||||||
using Aaru.Decoders.SCSI;
|
using Aaru.Decoders.SCSI;
|
||||||
using Aaru.Logging;
|
using Aaru.Logging;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
|
|
||||||
namespace Aaru.Core.Devices.Dumping;
|
namespace Aaru.Core.Devices.Dumping;
|
||||||
|
|
||||||
|
|||||||
@@ -48,8 +48,6 @@ using Aaru.Decoders.MMC;
|
|||||||
using Aaru.Decoders.SecureDigital;
|
using Aaru.Decoders.SecureDigital;
|
||||||
using Aaru.Logging;
|
using Aaru.Logging;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
using Humanizer.Localisation;
|
|
||||||
using CSD = Aaru.Decoders.MMC.CSD;
|
using CSD = Aaru.Decoders.MMC.CSD;
|
||||||
using DeviceType = Aaru.CommonTypes.Enums.DeviceType;
|
using DeviceType = Aaru.CommonTypes.Enums.DeviceType;
|
||||||
using Version = Aaru.CommonTypes.Interop.Version;
|
using Version = Aaru.CommonTypes.Interop.Version;
|
||||||
|
|||||||
@@ -50,8 +50,6 @@ using Aaru.Decoders.Xbox;
|
|||||||
using Aaru.Devices;
|
using Aaru.Devices;
|
||||||
using Aaru.Logging;
|
using Aaru.Logging;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
using Humanizer.Localisation;
|
|
||||||
using Device = Aaru.Devices.Remote.Device;
|
using Device = Aaru.Devices.Remote.Device;
|
||||||
using Layers = Aaru.CommonTypes.AaruMetadata.Layers;
|
using Layers = Aaru.CommonTypes.AaruMetadata.Layers;
|
||||||
using PlatformID = Aaru.CommonTypes.Interop.PlatformID;
|
using PlatformID = Aaru.CommonTypes.Interop.PlatformID;
|
||||||
|
|||||||
@@ -34,7 +34,6 @@ using System;
|
|||||||
using Aaru.CommonTypes.Structs.Devices.ATA;
|
using Aaru.CommonTypes.Structs.Devices.ATA;
|
||||||
using Aaru.Core.Logging;
|
using Aaru.Core.Logging;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
|
|
||||||
namespace Aaru.Core.Devices.Scanning;
|
namespace Aaru.Core.Devices.Scanning;
|
||||||
|
|
||||||
|
|||||||
@@ -40,7 +40,6 @@ using Aaru.Decoders.SCSI.MMC;
|
|||||||
using Aaru.Devices;
|
using Aaru.Devices;
|
||||||
using Aaru.Logging;
|
using Aaru.Logging;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
|
|
||||||
namespace Aaru.Core.Devices.Scanning;
|
namespace Aaru.Core.Devices.Scanning;
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,6 @@ using Aaru.Core.Logging;
|
|||||||
using Aaru.Decoders.MMC;
|
using Aaru.Decoders.MMC;
|
||||||
using Aaru.Decoders.SecureDigital;
|
using Aaru.Decoders.SecureDigital;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
using CSD = Aaru.Decoders.MMC.CSD;
|
using CSD = Aaru.Decoders.MMC.CSD;
|
||||||
using DeviceType = Aaru.CommonTypes.Enums.DeviceType;
|
using DeviceType = Aaru.CommonTypes.Enums.DeviceType;
|
||||||
|
|
||||||
|
|||||||
@@ -51,7 +51,6 @@ using Aaru.Decoders.Xbox;
|
|||||||
using Aaru.Helpers;
|
using Aaru.Helpers;
|
||||||
using Aaru.Logging;
|
using Aaru.Logging;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
using Sentry;
|
using Sentry;
|
||||||
using Spectre.Console;
|
using Spectre.Console;
|
||||||
using Spectre.Console.Json;
|
using Spectre.Console.Json;
|
||||||
|
|||||||
@@ -57,7 +57,6 @@ using Avalonia.Platform;
|
|||||||
using Avalonia.Svg;
|
using Avalonia.Svg;
|
||||||
using CommunityToolkit.Mvvm.Input;
|
using CommunityToolkit.Mvvm.Input;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
using Sentry;
|
using Sentry;
|
||||||
using Inquiry = Aaru.CommonTypes.Structs.Devices.SCSI.Inquiry;
|
using Inquiry = Aaru.CommonTypes.Structs.Devices.SCSI.Inquiry;
|
||||||
using Session = Aaru.CommonTypes.Structs.Session;
|
using Session = Aaru.CommonTypes.Structs.Session;
|
||||||
|
|||||||
@@ -54,8 +54,6 @@ using Avalonia.Threading;
|
|||||||
using CommunityToolkit.Mvvm.ComponentModel;
|
using CommunityToolkit.Mvvm.ComponentModel;
|
||||||
using CommunityToolkit.Mvvm.Input;
|
using CommunityToolkit.Mvvm.Input;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
using Humanizer.Localisation;
|
|
||||||
using MsBox.Avalonia;
|
using MsBox.Avalonia;
|
||||||
using MsBox.Avalonia.Base;
|
using MsBox.Avalonia.Base;
|
||||||
using MsBox.Avalonia.Enums;
|
using MsBox.Avalonia.Enums;
|
||||||
|
|||||||
@@ -49,7 +49,6 @@ using Avalonia.Threading;
|
|||||||
using CommunityToolkit.Mvvm.ComponentModel;
|
using CommunityToolkit.Mvvm.ComponentModel;
|
||||||
using CommunityToolkit.Mvvm.Input;
|
using CommunityToolkit.Mvvm.Input;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Localisation;
|
|
||||||
using Sentry;
|
using Sentry;
|
||||||
|
|
||||||
namespace Aaru.Gui.ViewModels.Windows;
|
namespace Aaru.Gui.ViewModels.Windows;
|
||||||
|
|||||||
@@ -46,8 +46,6 @@ using Avalonia.Threading;
|
|||||||
using CommunityToolkit.Mvvm.ComponentModel;
|
using CommunityToolkit.Mvvm.ComponentModel;
|
||||||
using CommunityToolkit.Mvvm.Input;
|
using CommunityToolkit.Mvvm.Input;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
using Humanizer.Localisation;
|
|
||||||
using MsBox.Avalonia;
|
using MsBox.Avalonia;
|
||||||
using MsBox.Avalonia.Enums;
|
using MsBox.Avalonia.Enums;
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,6 @@ using Avalonia.Media;
|
|||||||
using CommunityToolkit.Mvvm.ComponentModel;
|
using CommunityToolkit.Mvvm.ComponentModel;
|
||||||
using CommunityToolkit.Mvvm.Input;
|
using CommunityToolkit.Mvvm.Input;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
using Prism.DryIoc;
|
using Prism.DryIoc;
|
||||||
using Spectre.Console;
|
using Spectre.Console;
|
||||||
using Color = Avalonia.Media.Color;
|
using Color = Avalonia.Media.Color;
|
||||||
|
|||||||
@@ -40,7 +40,6 @@ using Avalonia.Controls.ApplicationLifetimes;
|
|||||||
using CommunityToolkit.Mvvm.ComponentModel;
|
using CommunityToolkit.Mvvm.ComponentModel;
|
||||||
using CommunityToolkit.Mvvm.Input;
|
using CommunityToolkit.Mvvm.Input;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
using Prism.DryIoc;
|
using Prism.DryIoc;
|
||||||
using Partition = Aaru.CommonTypes.Partition;
|
using Partition = Aaru.CommonTypes.Partition;
|
||||||
|
|
||||||
|
|||||||
@@ -53,7 +53,6 @@ using Aaru.Helpers;
|
|||||||
using Aaru.Localization;
|
using Aaru.Localization;
|
||||||
using Aaru.Logging;
|
using Aaru.Logging;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Localisation;
|
|
||||||
using Spectre.Console;
|
using Spectre.Console;
|
||||||
using Spectre.Console.Cli;
|
using Spectre.Console.Cli;
|
||||||
using DeviceInfo = Aaru.Core.Devices.Info.DeviceInfo;
|
using DeviceInfo = Aaru.Core.Devices.Info.DeviceInfo;
|
||||||
|
|||||||
@@ -43,7 +43,6 @@ using Aaru.Core.Graphics;
|
|||||||
using Aaru.Localization;
|
using Aaru.Localization;
|
||||||
using Aaru.Logging;
|
using Aaru.Logging;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Localisation;
|
|
||||||
using Spectre.Console;
|
using Spectre.Console;
|
||||||
using Spectre.Console.Cli;
|
using Spectre.Console.Cli;
|
||||||
|
|
||||||
|
|||||||
@@ -52,7 +52,6 @@ using Aaru.Decoders.Xbox;
|
|||||||
using Aaru.Localization;
|
using Aaru.Localization;
|
||||||
using Aaru.Logging;
|
using Aaru.Logging;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
using Spectre.Console;
|
using Spectre.Console;
|
||||||
using Spectre.Console.Cli;
|
using Spectre.Console.Cli;
|
||||||
using BCA = Aaru.Decoders.Bluray.BCA;
|
using BCA = Aaru.Decoders.Bluray.BCA;
|
||||||
|
|||||||
@@ -39,8 +39,6 @@ using Aaru.Core.Logging;
|
|||||||
using Aaru.Localization;
|
using Aaru.Localization;
|
||||||
using Aaru.Logging;
|
using Aaru.Logging;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Humanizer.Bytes;
|
|
||||||
using Humanizer.Localisation;
|
|
||||||
using Spectre.Console;
|
using Spectre.Console;
|
||||||
using Spectre.Console.Cli;
|
using Spectre.Console.Cli;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user