summaryrefslogtreecommitdiff
path: root/shelf/item.go
diff options
context:
space:
mode:
authorJonas Knobloch <jonas.knobloch@t-online.de>2026-04-23 18:14:50 +0200
committerJonas Knobloch <jonas.knobloch@t-online.de>2026-04-23 20:21:12 +0200
commit875ac19922932b12f6357d64a460c06d031000e7 (patch)
treef4f268ef2b029a5e187613d6ebbec1a166615dbc /shelf/item.go
parentd35f5fad1d26fc09cfd98f6e7faf17d6a48e4e8f (diff)
Add shelf module
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))
+}