Skip to main content

Module dump

Module dump 

Source
Expand description

Framework-level dump hook utilities (write-only file materialization). Framework-level dump hook utilities (write-only file materialization).

This module provides the [on_change] and [on_delete] hooks that Store::create, Store::update, and Store::delete call after each successful database operation. The hooks are defined here — not inlined into store.rs — so any future mini-app can call them directly (Crux #1 compliance: framework-level hook placement).

Structs§

DumpConfig
Configuration for the write-only file-materialization feature.

Enums§

SyncMode
Sync direction for the dump feature.

Functions§

on_change
Materialize record as a markdown file under the configured dump directory.
on_delete
No-op stub for delete-time hook (default: keep file on disk).