]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-method.h
make expected-size a maximum-size check as this is what we want at this point
[apt.git] / apt-pkg / acquire-method.h
index 2e4e8281a978d92bb13c48fe2cdebaffabf2fad9..675c4f8448231d22f321e18b753a15e91332ddbe 100644 (file)
@@ -48,7 +48,10 @@ class pkgAcqMethod
       bool IndexFile;
       bool FailIgnore;
       HashStringList ExpectedHashes;
-      unsigned long long ExpectedSize;
+      // a maximum size we will download, this can be the exact filesize
+      // for when we know it or a arbitrary limit when we don't know the
+      // filesize (like a InRelease file)
+      unsigned long long MaximumSize;
    };
    
    struct FetchResult