mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
🎨REFACTOR: Rename some methods and fields in IMediaImage interface.
This commit is contained in:
@@ -110,7 +110,7 @@ namespace DiscImageChef.DiscImages
|
||||
public string Name => "QEMU Copy-On-Write disk image";
|
||||
public Guid Id => new Guid("A5C35765-9FE2-469D-BBBF-ACDEBDB7B954");
|
||||
|
||||
public string ImageFormat => "QEMU Copy-On-Write";
|
||||
public string Format => "QEMU Copy-On-Write";
|
||||
|
||||
public List<Partition> Partitions =>
|
||||
throw new FeatureUnsupportedImageException("Feature not supported by image format");
|
||||
@@ -121,7 +121,7 @@ namespace DiscImageChef.DiscImages
|
||||
public List<Session> Sessions =>
|
||||
throw new FeatureUnsupportedImageException("Feature not supported by image format");
|
||||
|
||||
public bool IdentifyImage(IFilter imageFilter)
|
||||
public bool Identify(IFilter imageFilter)
|
||||
{
|
||||
Stream stream = imageFilter.GetDataForkStream();
|
||||
stream.Seek(0, SeekOrigin.Begin);
|
||||
@@ -135,7 +135,7 @@ namespace DiscImageChef.DiscImages
|
||||
return qHdr.magic == QCOW_MAGIC && qHdr.version == QCOW_VERSION;
|
||||
}
|
||||
|
||||
public bool OpenImage(IFilter imageFilter)
|
||||
public bool Open(IFilter imageFilter)
|
||||
{
|
||||
Stream stream = imageFilter.GetDataForkStream();
|
||||
stream.Seek(0, SeekOrigin.Begin);
|
||||
|
||||
Reference in New Issue
Block a user