View Source locus_mmdb_check_journal (locus v2.3.7)

Link to this section Summary

Link to this section Types

Link to this section Functions

Link to this function

bad_chunk_in_data_section(Journal, Position, Why, Path)

View Source

Specs

bad_chunk_in_data_section(t(), non_neg_integer(), term(), [{non_neg_integer(), term()}, ...]) ->
                             true.
Link to this function

bad_data_index_in_tree(Journal, DataIndex, Why, Prefix, Path)

View Source

Specs

bad_data_index_in_tree(t(), non_neg_integer(), term(), string(), [non_neg_integer()]) -> true.
Link to this function

bad_node_index_in_tree(Journal, NodeIndex, Prefix, Path)

View Source

Specs

bad_node_index_in_tree(t(), non_neg_integer(), string(), [non_neg_integer()]) -> true.

Specs

check(t()) -> #{errors := [locus_mmdb_check:error()], warnings := [locus_mmdb_check:warning()]}.

Specs

delete(t()) -> ok.
Link to this function

excessively_long_path_in_tree(Journal, NodeIndex, Prefix, Path)

View Source

Specs

excessively_long_path_in_tree(t(), non_neg_integer(), string(), [non_neg_integer()]) -> true.
Link to this function

invalid_position_in_data_section(Journal, Position, Path)

View Source

Specs

invalid_position_in_data_section(t(), non_neg_integer(), [{non_neg_integer(), term()}, ...]) ->
                                    true.
Link to this function

invalid_utf8_string_in_data_section(Journal, Position, OriginalData, ValidationError, Path)

View Source

Specs

invalid_utf8_string_in_data_section(t(),
                                    non_neg_integer(),
                                    binary(),
                                    term(),
                                    [{non_neg_integer(), term()}]) ->
                                       true.
Link to this function

loop_in_data_section(Journal, Path)

View Source

Specs

loop_in_data_section(t(), [{non_neg_integer(), term()}, ...]) -> true.
Link to this function

map_key_of_wrong_type_in_data_section(Journal, Position, Key, Path)

View Source

Specs

map_key_of_wrong_type_in_data_section(t(),
                                      non_neg_integer(),
                                      term(),
                                      [{non_neg_integer(), term()}]) ->
                                         true.

Specs

new() -> t().
Link to this function

unprintable_utf8_string_in_data_section(Journal, Position, Value, Path)

View Source

Specs

unprintable_utf8_string_in_data_section(t(),
                                        non_neg_integer(),
                                        unicode:unicode_binary(),
                                        [{non_neg_integer(), term()}]) ->
                                           true.