mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Fix spelling issues
This commit is contained in:
@@ -93,8 +93,9 @@ namespace SabreTools.DatTools
|
||||
logger.User(totalSize, currentSize);
|
||||
foreach (string item in files)
|
||||
{
|
||||
CheckFileForHashes(datFile, item, basePath, asFiles, skipFileType, addBlanks, hashes);
|
||||
currentSize += new FileInfo(item).Length;
|
||||
|
||||
CheckFileForHashes(datFile, item, basePath, asFiles, skipFileType, addBlanks, hashes);
|
||||
logger.User(totalSize, currentSize, item);
|
||||
}
|
||||
|
||||
|
||||
@@ -251,7 +251,7 @@ namespace SabreTools.FileTypes.Archives
|
||||
gzstream!.Dispose();
|
||||
}
|
||||
|
||||
// Fill in comon details and add to the list
|
||||
// Fill in common details and add to the list
|
||||
gzipEntryRom.Parent = gamename;
|
||||
_children.Add(gzipEntryRom);
|
||||
}
|
||||
|
||||
@@ -217,7 +217,7 @@ namespace SabreTools.FileTypes.Archives
|
||||
rarEntryRom = GetInfo(entryStream, size: entry.Size, hashes: this.AvailableHashTypes);
|
||||
}
|
||||
|
||||
// Fill in comon details and add to the list
|
||||
// Fill in common details and add to the list
|
||||
rarEntryRom.Filename = entry.Key;
|
||||
rarEntryRom.Parent = gamename;
|
||||
rarEntryRom.Date = entry.LastModifiedTime?.ToString("yyyy/MM/dd hh:mm:ss");
|
||||
|
||||
@@ -328,7 +328,7 @@ namespace SabreTools.FileTypes.Archives
|
||||
zipEntryRom = GetInfo(readStream, size: (long)zf.GetLocalFile(i).UncompressedSize, hashes: this.AvailableHashTypes, keepReadOpen: true);
|
||||
}
|
||||
|
||||
// Fill in comon details and add to the list
|
||||
// Fill in common details and add to the list
|
||||
zipEntryRom.Filename = zf.GetLocalFile(i).Filename;
|
||||
zipEntryRom.Parent = gamename;
|
||||
found.Add(zipEntryRom);
|
||||
|
||||
@@ -210,7 +210,7 @@ namespace SabreTools.FileTypes.Archives
|
||||
tarEntryRom = GetInfo(entryStream, size: entry.Size, hashes: this.AvailableHashTypes);
|
||||
}
|
||||
|
||||
// Fill in comon details and add to the list
|
||||
// Fill in common details and add to the list
|
||||
tarEntryRom.Filename = entry.Key;
|
||||
tarEntryRom.Parent = gamename;
|
||||
tarEntryRom.Date = entry.LastModifiedTime?.ToString("yyyy/MM/dd hh:mm:ss");
|
||||
|
||||
@@ -228,7 +228,7 @@ namespace SabreTools.FileTypes.Archives
|
||||
xzStream.Dispose();
|
||||
}
|
||||
|
||||
// Fill in comon details and add to the list
|
||||
// Fill in common details and add to the list
|
||||
xzEntryRom.Parent = gamename;
|
||||
_children.Add(xzEntryRom);
|
||||
}
|
||||
|
||||
@@ -368,9 +368,14 @@ namespace SabreTools.FileTypes
|
||||
|
||||
// Deal with the input stream
|
||||
if (!keepReadOpen)
|
||||
{
|
||||
input.Close();
|
||||
input.Dispose();
|
||||
}
|
||||
else
|
||||
{
|
||||
input.SeekIfPossible();
|
||||
}
|
||||
|
||||
return baseFile;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user