]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-item.h
support hashes for compressed pdiff files
[apt.git] / apt-pkg / acquire-item.h
index f24af1aeca81520f116e1959a1ae8e19524b6a73..910e4131bd21ee069625460c8db3f4556baec9c8 100644 (file)
@@ -705,17 +705,14 @@ struct APT_HIDDEN DiffInfo {                                              /*{{{*/
    /** The filename of the diff. */
    std::string file;
 
-   /** The hashes of the diff */
+   /** The hashes of the file after the diff is applied */
    HashStringList result_hashes;
 
-   /** The hashes of the file after the diff is applied */
+   /** The hashes of the diff */
    HashStringList patch_hashes;
 
-   /** The size of the file after the diff is applied */
-   unsigned long long result_size;
-
-   /** The size of the diff itself */
-   unsigned long long patch_size;
+   /** The hashes of the compressed diff */
+   HashStringList download_hashes;
 };
                                                                        /*}}}*/
 /** \brief An item that is responsible for fetching client-merge patches {{{