mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Preemptive FileTypes cleanup
This commit is contained in:
@@ -60,11 +60,8 @@ namespace SabreTools.FileTypes.Archives
|
||||
/// <summary>
|
||||
/// Create a new TorrentGZipArchive from the given file
|
||||
/// </summary>
|
||||
/// <param name="filename">Name of the file to use as an archive</param>
|
||||
/// <param name="read">True for opening file as read, false for opening file as write</param>
|
||||
/// <param name="getHashes">True if hashes for this file should be calculated, false otherwise (default)</param>
|
||||
public GZipArchive(string filename, bool getHashes = false)
|
||||
: base(filename, getHashes)
|
||||
public GZipArchive(string filename)
|
||||
: base(filename)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -31,10 +31,8 @@ namespace SabreTools.FileTypes.Archives
|
||||
/// Create a new TorrentRARArchive from the given file
|
||||
/// </summary>
|
||||
/// <param name="filename">Name of the file to use as an archive</param>
|
||||
/// <param name="read">True for opening file as read, false for opening file as write</param>
|
||||
/// <param name="getHashes">True if hashes for this file should be calculated, false otherwise (default)</param>
|
||||
public RarArchive(string filename, bool getHashes = false)
|
||||
: base(filename, getHashes)
|
||||
public RarArchive(string filename)
|
||||
: base(filename)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -38,9 +38,8 @@ namespace SabreTools.FileTypes.Archives
|
||||
/// </summary>
|
||||
/// <param name="filename">Name of the file to use as an archive</param>
|
||||
/// <param name="read">True for opening file as read, false for opening file as write</param>
|
||||
/// <param name="getHashes">True if hashes for this file should be calculated, false otherwise (default)</param>
|
||||
public SevenZipArchive(string filename, bool getHashes = false)
|
||||
: base(filename, getHashes)
|
||||
public SevenZipArchive(string filename)
|
||||
: base(filename)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -36,10 +36,8 @@ namespace SabreTools.FileTypes.Archives
|
||||
/// Create a new Tape archive from the given file
|
||||
/// </summary>
|
||||
/// <param name="filename">Name of the file to use as an archive</param>
|
||||
/// <param name="read">True for opening file as read, false for opening file as write</param>
|
||||
/// <param name="getHashes">True if hashes for this file should be calculated, false otherwise (default)</param>
|
||||
public TapeArchive(string filename, bool getHashes = false)
|
||||
: base(filename, getHashes)
|
||||
public TapeArchive(string filename)
|
||||
: base(filename)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -46,10 +46,8 @@ namespace SabreTools.FileTypes.Archives
|
||||
/// Create a new TorrentGZipArchive from the given file
|
||||
/// </summary>
|
||||
/// <param name="filename">Name of the file to use as an archive</param>
|
||||
/// <param name="read">True for opening file as read, false for opening file as write</param>
|
||||
/// <param name="getHashes">True if hashes for this file should be calculated, false otherwise (default)</param>
|
||||
public XZArchive(string filename, bool getHashes = false)
|
||||
: base(filename, getHashes)
|
||||
public XZArchive(string filename)
|
||||
: base(filename)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -44,10 +44,8 @@ namespace SabreTools.FileTypes.Archives
|
||||
/// Create a new TorrentZipArchive from the given file
|
||||
/// </summary>
|
||||
/// <param name="filename">Name of the file to use as an archive</param>
|
||||
/// <param name="read">True for opening file as read, false for opening file as write</param>
|
||||
/// <param name="getHashes">True if hashes for this file should be calculated, false otherwise (default)</param>
|
||||
public ZipArchive(string filename, bool getHashes = false)
|
||||
: base(filename, getHashes)
|
||||
public ZipArchive(string filename)
|
||||
: base(filename)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user