Geolix Test Data Provider v0.5.1 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

Specs

format() :: :mmdb2

Link to this section Functions

Specs

dir(format()) :: String.t()

Returns the storage directory for a given type.

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

Specs

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

Returns the full path to a file.

No check is performed if the file exists.

Specs

files(format()) :: [String.t()]

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.