Dust.Entry (dustlayer v0.1.1)

Copy Markdown View Source

A single cached entry with metadata.

Summary

Functions

Builds an entry. :synced_at is optional and defaults to nil — it is the local wall-clock (unix epoch ms) when this mirror last wrote the row, populated for leaf reads and left nil for subtree-assembled entries.

Types

t()

@type t() :: %Dust.Entry{
  path: String.t(),
  revision: integer(),
  synced_at: integer() | nil,
  type: String.t(),
  value: term()
}

Functions

new(opts)

@spec new(keyword()) :: t()

Builds an entry. :synced_at is optional and defaults to nil — it is the local wall-clock (unix epoch ms) when this mirror last wrote the row, populated for leaf reads and left nil for subtree-assembled entries.