Browse Source

doc: VerifyFile checks all hashes instead of best only

The implementation changed in
495b7a615a2d8f485beadf88c6ed298f5bbe50c2

Git-Dch: Ignore
Reported-By: Julian Andres Klode <jak@debian.org>
David Kalnischkies 10 years ago
parent
commit
875a9e54ba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apt-pkg/contrib/hashes.h

+ 1 - 1
apt-pkg/contrib/hashes.h

@@ -120,7 +120,7 @@ class HashStringList
    /** @return size of the list of HashStrings */
    /** @return size of the list of HashStrings */
    size_t size() const { return list.size(); }
    size_t size() const { return list.size(); }
 
 
-   /** take the 'best' hash and verify file with it
+   /** verify file against all hashes in the list
     *
     *
     * @param filename to verify
     * @param filename to verify
     * @return true if the file matches the hashsum, otherwise false
     * @return true if the file matches the hashsum, otherwise false