mirror of
https://codeberg.org/git-pages/git-pages.git
synced 2026-05-14 11:11:35 +00:00
Fix misleading variable name. NFC
This commit is contained in:
@@ -147,9 +147,9 @@ func ExternalizeFiles(manifest *Manifest) *Manifest {
|
||||
}
|
||||
var totalSize uint32
|
||||
for name, entry := range manifest.Contents {
|
||||
canBeInlined := entry.GetType() == Type_InlineFile &&
|
||||
cannotBeInlined := entry.GetType() == Type_InlineFile &&
|
||||
entry.GetSize() > uint32(config.Limits.MaxInlineFileSize.Bytes())
|
||||
if canBeInlined {
|
||||
if cannotBeInlined {
|
||||
newManifest.Contents[name] = &Entry{
|
||||
Type: Type_ExternalFile.Enum(),
|
||||
Size: entry.Size,
|
||||
|
||||
Reference in New Issue
Block a user