View Source locus_util (locus v2.3.7)

Link to this section Summary

Link to this section Functions

Specs

bin_to_hex_str(binary()) -> [48..57 | 97..102].
Link to this function

censor_url_query(URL, KeysToCensor)

View Source

Specs

censor_url_query(string(), [unicode:charlist()]) -> string().
Link to this function

expect_linked_process_termination(Pid)

View Source

Specs

expect_linked_process_termination(pid()) -> boolean().
Link to this function

filesystem_safe_name(Name)

View Source

Specs

filesystem_safe_name(binary()) -> binary().

Specs

is_date(term()) -> boolean().
Link to this function

is_termination_reason_harmless(Reason)

View Source

Specs

is_termination_reason_harmless(term()) -> boolean().
Link to this function

is_unicode_string(Value)

View Source

Specs

is_unicode_string(term()) -> boolean().

Specs

is_utf8_binary(term()) -> boolean().

Specs

lists_anymap(fun((term()) -> boolean() | {true, term()}), list()) -> {true, term()} | false.

Specs

lists_take(term(), list()) -> {ok, list()} | error.
Link to this function

parse_absolute_http_url(URI)

View Source

Specs

parse_absolute_http_url(string()) ->
                           {ok,
                            {atom(),
                             string(),
                             string(),
                             inet:port_number(),
                             string(),
                             string(),
                             string()}} |
                           {error, not_absolute_http_url} |
                           {error, {atom(), term()}}.
Link to this function

parse_ip_address(Address)

View Source

Specs

parse_ip_address(binary() | string() | inet:ip_address()) ->
                    {ok, inet:ip_address()} | {error, einval}.
Link to this function

purge_term_of_very_large_binaries(T)

View Source

Specs

purge_term_of_very_large_binaries(T) -> T.
Link to this function

resolve_http_location(BaseURL, Location)

View Source

Specs

resolve_http_location(string(), string()) -> {ok, string()} | {error, term()}.
Link to this function

url_query_encode(Chardata)

View Source

Specs

url_query_encode(unicode:chardata()) -> binary().