UAParser.Storage (ua_parser v1.10.0)

View Source

Load pattern data at boot time and store it in persistent_term.

Summary

Functions

Returns a tuple containing all three pattern lists: {user_agent_patterns, os_patterns, device_patterns}.

Loads the user agent, operating system, and device patterns from the YAML file into persistent_term.

Functions

list()

@spec list() :: {term(), term(), term()}

Returns a tuple containing all three pattern lists: {user_agent_patterns, os_patterns, device_patterns}.

load_table()

@spec load_table() :: :ok

Loads the user agent, operating system, and device patterns from the YAML file into persistent_term.

Returns :ok on success.