summaryrefslogtreecommitdiff
path: root/shelf/item.go
diff options
context:
space:
mode:
Diffstat (limited to 'shelf/item.go')
-rw-r--r--shelf/item.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/shelf/item.go b/shelf/item.go
new file mode 100644
index 0000000..f026d57
--- /dev/null
+++ b/shelf/item.go
@@ -0,0 +1,9 @@
+package shelf
+
+import "path"
+
+type Item string
+
+func Abs(item Item) string {
+ return path.Join(Root, string(item))
+}