summaryrefslogtreecommitdiff
path: root/lib/lsg.ex
diff options
context:
space:
mode:
authorhref <href@random.sh>2020-07-07 21:39:10 +0200
committerhref <href@random.sh>2020-07-07 21:39:51 +0200
commitd6ee134a5957e299c3ad59011df320b3c41e6e61 (patch)
tree29567e6635466f8a3415a935b3cc8a777019f5bc /lib/lsg.ex
parentbleh (diff)
pouet
Diffstat (limited to 'lib/lsg.ex')
-rw-r--r--lib/lsg.ex4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/lsg.ex b/lib/lsg.ex
index ab53a70..cf1e50e 100644
--- a/lib/lsg.ex
+++ b/lib/lsg.ex
@@ -1,5 +1,9 @@
defmodule LSG do
+ def data_path(suffix) do
+ Path.join(data_path(), suffix)
+ end
+
def data_path do
Application.get_env(:lsg, :data_path)
end