Split out the puthe path/filepath functions into common/paths
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 18 Jun 2021 08:27:27 +0000 (10:27 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 18 Jun 2021 08:55:00 +0000 (10:55 +0200)
commit93aad3c543828efca2adeb7f96cf50ae29878593
tree6a3dd4f6f878f8f36be9cef03a15b78b19d1f3da
parent5af045ebab109d3e5501b8b6d9fd448840c96c9a
Split out the puthe path/filepath functions into common/paths

So they can be used from the config package without cyclic troubles.

Updates #8654
21 files changed:
commands/server.go
common/paths/path.go [new file with mode: 0644]
common/paths/path_test.go [new file with mode: 0644]
common/paths/url.go [new file with mode: 0644]
common/paths/url_test.go [new file with mode: 0644]
create/content.go
create/content_template_handler.go
helpers/path.go
helpers/path_test.go
helpers/url.go
helpers/url_test.go
hugolib/config.go
hugolib/content_map_test.go
hugolib/pagecollections.go
hugolib/site.go
langs/i18n/translationProvider.go
resources/image.go
resources/image_test.go
resources/page/pagemeta/page_frontmatter.go
resources/transform.go
source/fileInfo.go