summaryrefslogtreecommitdiff
path: root/store/paths.go
diff options
context:
space:
mode:
Diffstat (limited to 'store/paths.go')
-rw-r--r--store/paths.go13
1 files changed, 2 insertions, 11 deletions
diff --git a/store/paths.go b/store/paths.go
index bd567cb..b31f3d8 100644
--- a/store/paths.go
+++ b/store/paths.go
@@ -1,9 +1,5 @@
package store
-import (
- "strconv"
-)
-
const infoJson = "info.json"
// LockPath returns path to lock file.
@@ -126,12 +122,7 @@ func (s *Store) PageBaseDir() string {
return s.Path + "/pages"
}
-// PagesDir returns path to pages of a variant.
-func (s *Store) PagesDir(variant string) string {
+// PageVariantPath returns path to pages of a variant.
+func (s *Store) PageVariantPath(variant string) string {
return s.PageBaseDir() + "/" + variant
}
-
-// PagePath returns path to a specific page.
-func (s *Store) PagePath(variant string, entry int) string {
- return s.PagesDir(variant) + "/" + strconv.Itoa(entry)
-}