Current section

Files

Jump to
go_over src go_over@constants.erl
Raw

src/go_over@constants.erl

-module(go_over@constants).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
-export([go_over_path/0]).
-spec go_over_path() -> binary().
go_over_path() ->
_assert_subject = simplifile:current_directory(),
{ok, Curr} = case _assert_subject of
{ok, _} -> _assert_subject;
_assert_fail ->
erlang:error(#{gleam_error => let_assert,
message => <<"Assertion pattern match failed"/utf8>>,
value => _assert_fail,
module => <<"go_over/constants"/utf8>>,
function => <<"go_over_path"/utf8>>,
line => 11})
end,
filepath:join(Curr, <<".go-over"/utf8>>).