Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

…lines 1–15 unchanged (15 lines)
16import "github.com/gohugoio/hugo/common/version"
17
18// CurrentVersion represents the current build version.
19// This should be the only one.
20var CurrentVersion = version.Version{
21 Major: 0,
22 Minor: 154,
23 PatchLevel: 2,
24 Suffix: "",
25}
26

After

…lines 1–15 unchanged (15 lines)
16import "github.com/gohugoio/hugo/common/version"
17
18// CurrentVersion represents the current build version.
19// This should be the only one.
20var CurrentVersion = version.Version{
21 Major: 0,
22 Minor: 155,
23 PatchLevel: 0,
24 Suffix: "-DEV",
25}
26

Before

source_file
comment "// Copyright 2025 The Hugo Authors. All rights reserved."
comment "//"
comment "// Licensed under the Apache License, Version 2.0 (the \"Lice"...
comment "// you may not use this file except in compliance with the L"...
comment "// You may obtain a copy of the License at"
comment "// http://www.apache.org/licenses/LICENSE-2.0"
comment "//"
comment "// Unless required by applicable law or agreed to in writing"...
comment "// distributed under the License is distributed on an \"AS IS"...
comment "// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expr"...
comment "// See the License for the specific language governing permi"...
comment "// limitations under the License."
package_clause
package "package"
package_identifier "hugo"
import_declaration
import "import"
import_spec
interpreted_string_literal
" "\""
interpreted_string_literal_content "github.com/gohugoio/hugo/common/version"
" "\""
comment "// CurrentVersion represents the current build version."
comment "// This should be the only one."
var_declaration
var "var"
var_spec
identifier "CurrentVersion"
= "="
expression_list
composite_literal
qualified_type
package_identifier "version"
. "."
type_identifier "Version"
literal_value
{ "{"
keyed_element
literal_element
identifier "Major"
: ":"
literal_element
int_literal "0"
, ","
keyed_element
literal_element
identifier "Minor"
: ":"
literal_element
int_literal "154"
, ","
keyed_element
literal_element
identifier "PatchLevel"
: ":"
literal_element
int_literal "2"
, ","
keyed_element
literal_element
identifier "Suffix"
: ":"
literal_element
interpreted_string_literal
" "\""
" "\""
, ","
} "}"

After

source_file
comment "// Copyright 2025 The Hugo Authors. All rights reserved."
comment "//"
comment "// Licensed under the Apache License, Version 2.0 (the \"Lice"...
comment "// you may not use this file except in compliance with the L"...
comment "// You may obtain a copy of the License at"
comment "// http://www.apache.org/licenses/LICENSE-2.0"
comment "//"
comment "// Unless required by applicable law or agreed to in writing"...
comment "// distributed under the License is distributed on an \"AS IS"...
comment "// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expr"...
comment "// See the License for the specific language governing permi"...
comment "// limitations under the License."
package_clause
package "package"
package_identifier "hugo"
import_declaration
import "import"
import_spec
interpreted_string_literal
" "\""
interpreted_string_literal_content "github.com/gohugoio/hugo/common/version"
" "\""
comment "// CurrentVersion represents the current build version."
comment "// This should be the only one."
var_declaration
var "var"
var_spec
identifier "CurrentVersion"
= "="
expression_list
composite_literal
qualified_type
package_identifier "version"
. "."
type_identifier "Version"
literal_value
{ "{"
keyed_element
literal_element
identifier "Major"
: ":"
literal_element
int_literal "0"
, ","
keyed_element
literal_element
identifier "Minor"
: ":"
literal_element
int_literal "155"
, ","
keyed_element
literal_element
identifier "PatchLevel"
: ":"
literal_element
int_literal "0"
, ","
keyed_element
literal_element
identifier "Suffix"
: ":"
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "-DEV"
" "\""
, ","
} "}"