using SabreTools.Core;
namespace SabreTools.DatFiles.Formats
{
///
/// Represents a hashfile such as an SFV, MD5, or SHA-1 file
///
internal partial class Hashfile : DatFile
{
// Private instance variables specific to Hashfile DATs
private readonly Hash _hash;
///
/// Constructor designed for casting a base DatFile
///
/// Parent DatFile to copy from
/// Type of hash that is associated with this DAT
public Hashfile(DatFile? datFile, Hash hash)
: base(datFile)
{
_hash = hash;
}
}
}