Rust

cache

Module

The transfer's record of every resource it moved.

Contents

use utopia_migration::Cache;
Rust
pub struct Cache

A record of the resources a transfer moved, by type and key, shared by its source and destination: sources read the parents they exported (tables of a database, ...) from it, destinations the status of what they imported, and crate::Transfer its counters and report.

Rows and documents are counted per status instead of kept, so a large table does not fill memory; files and deployments are kept without their data.

use utopia_migration::cache::Entry;
Rust
pub enum Entry

One cache entry: a resource, or, for rows and documents (which are counted rather than kept), the number of them in one status.

Rust
pub type Entries = IndexMap<ArrayKey, Entry>

Undocumented.