summaryrefslogtreecommitdiffstats
path: root/hugolib/paths/paths.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-04-08 15:15:26 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-04-10 13:49:31 +0200
commit30c2e54c25f6c3a942080f30be49712adda27586 (patch)
tree6805e432456f92623db0b1c862879cee54693481 /hugolib/paths/paths.go
parent3117e5859509e909298153972ab6f700af577f92 (diff)
Replace all usage of CopyOnWriteFs with OverlayFs
Fixes #9761
Diffstat (limited to 'hugolib/paths/paths.go')
-rw-r--r--hugolib/paths/paths.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/hugolib/paths/paths.go b/hugolib/paths/paths.go
index f6e7b1a76..9d5716e16 100644
--- a/hugolib/paths/paths.go
+++ b/hugolib/paths/paths.go
@@ -53,9 +53,6 @@ type Paths struct {
// pagination path handling
PaginatePath string
- // TODO1 check usage
- PublishDir string
-
// When in multihost mode, this returns a list of base paths below PublishDir
// for each language.
MultihostTargetBasePaths []string
@@ -185,9 +182,6 @@ func New(fs *hugofs.Fs, cfg config.Provider) (*Paths, error) {
p.ModulesClient = cfg.Get("modulesClient").(*modules.Client)
}
- // TODO(bep) remove this, eventually
- p.PublishDir = absPublishDir
-
return p, nil
}