summaryrefslogtreecommitdiffstats
path: root/helpers/pathspec.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-11-19 13:47:36 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-11-19 14:03:21 +0100
commitc1d325934edc93ac802c7d99a30a5963efe52e01 (patch)
tree8ac3d8f34c3c864f0adfc7dc813416d64eab1516 /helpers/pathspec.go
parentd99db71ab5a90246dce729ca802e4cd88b01ba3c (diff)
helpers: Remove (now) unused GetStaticDir
* In Hugo there is no single static dir * It was used as a filter in the content dir, which makes no sense since any overlap here is impossible
Diffstat (limited to 'helpers/pathspec.go')
-rw-r--r--helpers/pathspec.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/helpers/pathspec.go b/helpers/pathspec.go
index 5b7f534fe..0c9cbea63 100644
--- a/helpers/pathspec.go
+++ b/helpers/pathspec.go
@@ -133,11 +133,6 @@ func (p *PathSpec) WorkingDir() string {
return p.workingDir
}
-// StaticDir returns the relative static dir in the current configuration.
-func (p *PathSpec) StaticDir() string {
- return p.staticDirs[len(p.staticDirs)-1]
-}
-
// StaticDirs returns the relative static dirs for the current configuration.
func (p *PathSpec) StaticDirs() []string {
return p.staticDirs