Liking cljdoc? Tell your friends :D

hive-rss.boundary.state

Per-feed state on disk: seen item keys, validators, and when each feed was last polled. One EDN file, written atomically, readable only by its owner.

A missing or unreadable file is an empty state rather than an error: the worst case is that items already filed are offered again, and the memory sink refuses duplicates by content hash.

Per-feed state on disk: seen item keys, validators, and when each feed was
last polled. One EDN file, written atomically, readable only by its owner.

A missing or unreadable file is an empty state rather than an error: the
worst case is that items already filed are offered again, and the memory
sink refuses duplicates by content hash.
raw docstring

load-stateclj

(load-state path)

The state in path, or {} when it is absent, unreadable or malformed.

The state in `path`, or {} when it is absent, unreadable or malformed.
sourceraw docstring

save-state!clj

(save-state! path state)

Write state to path via a sibling temp file and an atomic move.

Write `state` to `path` via a sibling temp file and an atomic move.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close