Skip to main content

migrate

Function migrate 

Source
pub async fn migrate(
    root: &Path,
    src: &Path,
    namespace: &str,
    collection: &str,
    kind: RecordKind,
) -> Result<MigrateSummary>
Expand description

Recursively import every file under src as a record in the fs store at root. Idempotent: if the key already exists, skip it.