mirror of
https://codeberg.org/git-pages/git-pages.git
synced 2026-05-14 11:11:35 +00:00
Fix manifest StoredSize field being always zero.
This commit is contained in:
@@ -329,7 +329,7 @@ func StoreManifest(
|
||||
// Compute the total and deduplicated storage size.
|
||||
totalSize := int64(0)
|
||||
blobSizes := map[string]int64{}
|
||||
for _, entry := range manifest.Contents {
|
||||
for _, entry := range extManifest.Contents {
|
||||
totalSize += entry.GetOriginalSize()
|
||||
if entry.GetType() == Type_ExternalFile {
|
||||
blobSizes[string(entry.Data)] = entry.GetCompressedSize()
|
||||
|
||||
Reference in New Issue
Block a user