mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
REFACTOR: Use string interpolation expression.
This commit is contained in:
@@ -314,9 +314,9 @@ namespace DiscImageChef.Filesystems
|
||||
xmlFSType.Type = "ZFS filesystem";
|
||||
if(decodedNvList.TryGetValue("name", out tmpObj)) xmlFSType.VolumeName = (string)tmpObj.value;
|
||||
if(decodedNvList.TryGetValue("guid", out tmpObj))
|
||||
xmlFSType.VolumeSerial = string.Format("{0}", (ulong)tmpObj.value);
|
||||
xmlFSType.VolumeSerial = $"{(ulong)tmpObj.value}";
|
||||
if(decodedNvList.TryGetValue("pool_guid", out tmpObj))
|
||||
xmlFSType.VolumeSetIdentifier = string.Format("{0}", (ulong)tmpObj.value);
|
||||
xmlFSType.VolumeSetIdentifier = $"{(ulong)tmpObj.value}";
|
||||
}
|
||||
|
||||
static bool DecodeNvList(byte[] nvlist, out Dictionary<string, NVS_Item> decodedNvList)
|
||||
|
||||
Reference in New Issue
Block a user