/// <exception cref="System.IO.IOException"/> internal override void Visit(ImageVisitor.ImageElement element, string value) { // Explicitly label the root path if (element == ImageVisitor.ImageElement.InodePath && value.Equals(string.Empty)) { value = "/"; } // Special case of file size, which is sum of the num bytes in each block if (element == ImageVisitor.ImageElement.NumBytes) { fileSize += long.Parse(value); } if (elements.Contains(element) && element != ImageVisitor.ImageElement.NumBytes) { elements[element] = value; } }