Skip to main content

Module storage

Module storage 

Source
Expand description

Storage trait definitions for persisting dependency graphs and fingerprints.

This module defines the abstract storage interface that enables the incremental update system to persist state across sessions. Concrete implementations are provided for:

  • Postgres (CLI deployment): Full-featured SQL backend
  • D1 (Edge deployment): Cloudflare Workers-compatible storage

§Design Pattern

Adapted from ReCoco’s build_import_op_exec_ctx persistence (exec_ctx.rs:55-134) and setup state management.

Structs§

InMemoryStorage
In-memory storage backend for testing purposes.

Enums§

StorageError
Errors that can occur during storage operations.

Traits§

StorageBackend
Abstract storage backend for the incremental update system.