diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-11-19 13:47:36 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-11-19 14:03:21 +0100 |
commit | c1d325934edc93ac802c7d99a30a5963efe52e01 (patch) | |
tree | 8ac3d8f34c3c864f0adfc7dc813416d64eab1516 /helpers/pathspec.go | |
parent | d99db71ab5a90246dce729ca802e4cd88b01ba3c (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.go | 5 |
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 |