]> git.maquefel.me Git - brevno-suite/hugo/commit
Rename common/maps to common/hmaps (#14384)
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 16 Jan 2026 10:47:46 +0000 (11:47 +0100)
committerGitHub <noreply@github.com>
Fri, 16 Jan 2026 10:47:46 +0000 (11:47 +0100)
commit608ed09a0a86e0477cffe63322d90e1dd31d167b
treedfd8680a76cd477d2524aa34de8a7ab2ccb52d87
parent94f1ede3aa6c158c81fb24481da2ebb71e2e6778
Rename common/maps to common/hmaps (#14384)

Go's stdlid now has a maps package, which is very useful. We have been using imports on the form `xmaps "maps"`, but auto import tools doesn't handle this, which is annoying.

I have been thinking about this for some time, but have been holding back because of all the import changes. However, now is a good time to do this, with very little unmerged code.
115 files changed:
cache/filecache/filecache_config.go
commands/config.go
commands/hugobuilder.go
commands/import.go
common/hexec/exec.go
common/hmaps/cache.go [new file with mode: 0644]
common/hmaps/cache_test.go [new file with mode: 0644]
common/hmaps/map.go [new file with mode: 0644]
common/hmaps/map_test.go [new file with mode: 0644]
common/hmaps/maps.go [new file with mode: 0644]
common/hmaps/maps_test.go [new file with mode: 0644]
common/hmaps/ordered.go [new file with mode: 0644]
common/hmaps/ordered_test.go [new file with mode: 0644]
common/hmaps/orderedintset.go [new file with mode: 0644]
common/hmaps/orderedintset_test.go [new file with mode: 0644]
common/hmaps/params.go [new file with mode: 0644]
common/hmaps/params_test.go [new file with mode: 0644]
common/hreflect/helpers.go
common/maps/cache.go [deleted file]
common/maps/cache_test.go [deleted file]
common/maps/map.go [deleted file]
common/maps/map_test.go [deleted file]
common/maps/maps.go [deleted file]
common/maps/maps_test.go [deleted file]
common/maps/ordered.go [deleted file]
common/maps/ordered_test.go [deleted file]
common/maps/orderedintset.go [deleted file]
common/maps/orderedintset_test.go [deleted file]
common/maps/params.go [deleted file]
common/maps/params_test.go [deleted file]
common/paths/pathparser.go
config/allconfig/allconfig.go
config/allconfig/alldecoders.go
config/allconfig/docshelper.go
config/allconfig/load.go
config/configLoader.go
config/configProvider.go
config/defaultConfigProvider.go
config/defaultConfigProvider_test.go
config/namespace_test.go
config/testconfig/testconfig.go
deps/deps.go
hugofs/hglob/glob.go
hugofs/rootmapping_fs_test.go
hugolib/config_test.go
hugolib/content_map_page.go
hugolib/content_map_page_assembler.go
hugolib/doctree/support.go
hugolib/hugo_sites.go
hugolib/integrationtest_builder.go
hugolib/page__content.go
hugolib/page__meta.go
hugolib/page__per_output.go
hugolib/pagesfromdata/pagesfromgotmpl.go
hugolib/segments/segments.go
hugolib/site.go
hugolib/sitesmatrix/vectorstores.go
hugolib/sitesmatrix/vectorstores_test.go
internal/js/api.go
internal/js/esbuild/batch.go
internal/js/esbuild/options.go
internal/js/esbuild/resolve.go
internal/warpc/warpc.go
langs/language.go
markup/goldmark/convert_test.go
markup/markup_config/config.go
media/config.go
minifiers/config.go
modules/collect.go
modules/npm/package_builder.go
navigation/menu.go
navigation/pagemenus.go
output/config.go
parser/metadecoders/decoder.go
related/inverted_index.go
resources/images/config.go
resources/images/filters.go
resources/page/page_matcher.go
resources/page/page_matcher_test.go
resources/page/page_nop.go
resources/page/pagemeta/page_frontmatter.go
resources/page/permalinks.go
resources/page/site.go
resources/page/testhelpers_test.go
resources/postpub/postpub.go
resources/resource.go
resources/resource/params.go
resources/resource/resource_helpers.go
resources/resource/resources.go
resources/resource/resourcetypes.go
resources/resource_factories/create/remote.go
resources/resource_metadata.go
resources/transform.go
tpl/collections/collections.go
tpl/collections/collections_test.go
tpl/collections/index.go
tpl/collections/index_test.go
tpl/collections/merge.go
tpl/collections/merge_test.go
tpl/collections/querify.go
tpl/collections/querify_test.go
tpl/collections/sort.go
tpl/collections/sort_test.go
tpl/collections/where.go
tpl/collections/where_test.go
tpl/css/css.go
tpl/data/data.go
tpl/data/data_test.go
tpl/encoding/encoding.go
tpl/internal/resourcehelpers/helpers.go
tpl/openapi/openapi3/openapi3.go
tpl/resources/resources.go
tpl/tplimpl/template_funcs.go
tpl/tplimpl/templatestore.go
tpl/tplimpl/templatetransform.go