Pockets.DetsInfo (Pockets v1.6.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"

Summary

Types

t()

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

Functions

new(info)