]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/hashes.h
* merged from apt--mvo
[apt.git] / apt-pkg / contrib / hashes.h
index 86c0eb2ad831158a7e59d0db08d52991d465724e..93e7b25d96777d3f42501c19f30d9d2a3a5da79f 100644 (file)
@@ -38,6 +38,9 @@ class HashString
    HashString(string StringedHashString);  // init from str as "type:hash"
    HashString();
 
+   // get hash type used
+   string HashType() { return Type; };
+
    // verify the given filename against the currently loaded hash
    bool VerifyFile(string filename) const;