CubDB.data_dir

You're seeing just the function data_dir, go back to CubDB module for more information.

Specs

data_dir(GenServer.server()) :: String.t()

Returns the path of the data directory, as given when the CubDB process was started.

Example

{:ok, db} = CubDB.start_link("some/data/directory")

CubDB.data_dir(db)
#=> "some/data/directory"