Pockets.DetsInfo (Pockets v1.0.0) View Source

A struct defining information about an Erlang :dets disk-based table, adapted from :dets.info/1.

This struct is one of the possible values returned from Pockets.info/1.

Note that :dets refers to a table's filename as a path that has been converted to an atom, e.g. :"/tmp/my_table.dets"

Link to this section Summary

Link to this section Types

Specs

t() :: %Pockets.DetsInfo{
  file_size: integer(),
  filename: atom(),
  keypos: integer(),
  size: integer(),
  type: :bag | :duplicate_bag | :set
}

Link to this section Functions