Module jup_util

Data Types

string_like()

string_like() = string() | atom() | binary() | iolist()

Function Index

call_if_exported/3
call_if_exported/4
copy_to_node/2
ensure_binary/1
ensure_string/1
format_stacktrace/2
get_user/0
get_uuid/0
hexlify/1
split_at_delim/2
unique/1Make a list contain sorted unique elements.

Function Details

call_if_exported/3

call_if_exported(Module::module(), Func::atom(), Args::list()) -> term()

call_if_exported/4

call_if_exported(Module::module(), Func::atom(), Args::list(), Default::term()) -> term()

copy_to_node/2

copy_to_node(Node::atom(), Backend::module()) -> ok | {error, [{module(), term()}]}

ensure_binary/1

ensure_binary(List::string_like()) -> binary()

ensure_string/1

ensure_string(List::string_like()) -> string()

format_stacktrace/2

format_stacktrace(Reason::term(), Stacktrace::[{module(), atom(), [term()] | number(), proplists:type()}]) -> iolist()

get_user/0

get_user() -> binary()

get_uuid/0

get_uuid() -> binary()

hexlify/1

hexlify(Bin::binary()) -> binary()

split_at_delim/2

split_at_delim(List::list(), Delim::any()) -> {list(), list()}

unique/1

unique(L::list()) -> list()

Make a list contain sorted unique elements


Generated by EDoc