From e9d056ce119969e27217343284b94f964eb99c58 Mon Sep 17 00:00:00 2001 From: href Date: Sat, 11 Sep 2021 00:31:07 +0200 Subject: reorg --- lib/lsg/lsg.ex | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 lib/lsg/lsg.ex (limited to 'lib/lsg/lsg.ex') diff --git a/lib/lsg/lsg.ex b/lib/lsg/lsg.ex new file mode 100644 index 0000000..dc0f641 --- /dev/null +++ b/lib/lsg/lsg.ex @@ -0,0 +1,15 @@ +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 + + def version do + Application.spec(:lsg)[:vsn] + end + +end -- cgit v1.2.3