Liking cljdoc? Tell your friends :D

hive-rss.boundary.memory

File entries into hive memory through the hive-spi IMemoryStore port.

The port upserts and nothing more, so this sink does what hive-mcp's memory add does around it: a content hash, a duplicate check in the project, the scope:project:<id> tag scope filters match on, and an expiry from the duration. It never throws; every outcome is a Result.

File entries into hive memory through the hive-spi IMemoryStore port.

The port upserts and nothing more, so this sink does what hive-mcp's
`memory add` does around it: a content hash, a duplicate check in the
project, the `scope:project:<id>` tag scope filters match on, and an expiry
from the duration. It never throws; every outcome is a Result.
raw docstring

duration-daysclj

Days each duration lives, as hive-mcp counts them; nil is permanent.

Days each duration lives, as hive-mcp counts them; nil is permanent.
sourceraw docstring

file!clj

(file! store entry)

Result of filing entry into store: ok {:id id :duplicate? bool}. An entry whose content already exists in the project is not written again. Errors: :rss/memory-refused (the store answered without an id) and :rss/memory-failed (it threw).

Result of filing `entry` into `store`: ok `{:id id :duplicate? bool}`.
An entry whose content already exists in the project is not written again.
Errors: `:rss/memory-refused` (the store answered without an id) and
`:rss/memory-failed` (it threw).
sourceraw docstring

prepareclj

(prepare entry now)

entry as the store receives it, stamped at now (a ZonedDateTime).

`entry` as the store receives it, stamped at `now` (a ZonedDateTime).
sourceraw docstring

scope-tagclj

(scope-tag project-id)
source

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