Geolix Test Data Provider v0.5.0 Geolix.TestData View Source

Geolix Test Data Provider

Link to this section Summary

Functions

Returns the storage directory for a given type.

Returns the full path to a file.

Returns a list of included files (full path) for a given type.

Link to this section Types

Link to this type

format()

View Source
format() :: :mmdb2

Link to this section Functions

Returns the storage directory for a given type.

There is no check if the format passed is included in the format/0 type.

Link to this function

file(format, filename)

View Source
file(format(), String.t()) :: String.t()

Returns the full path to a file.

No check is performed if the file exists.

Returns a list of included files (full path) for a given type.

If you pass an unknown format not specified by the format/0 type an empty list will be returned.