Cotal TypeScript packages
    Preparing search index...

    Interface MigrateReport

    The answer a migration attempt produces.

    admissible is the commit condition — no divergence and the orphan table satisfied — and NOT a statement that anything was written. Nothing is: see commitMigration.

    interface MigrateReport {
        actor: string;
        admissible: boolean;
        at: number;
        consumedThrough: number;
        divergence?: MigrateDivergence;
        fromHash?: string;
        orphans: readonly MigrateOrphan[];
        overrides: readonly string[];
        run: string;
        toHash: string;
        unwalkable?: { step: string; why: string };
    }
    Index
    actor: string
    admissible: boolean
    at: number
    consumedThrough: number

    How many recorded entries the walk accounted for.

    divergence?: MigrateDivergence
    fromHash?: string
    orphans: readonly MigrateOrphan[]
    overrides: readonly string[]

    The overrides the caller passed, as recorded strings, for the fact the commit will file.

    run: string
    toHash: string

    The hash of the source this run would move TO. Computed from that source, so not a claim.

    unwalkable?: { step: string; why: string }

    A scope the walk could not enter, which is a refusal rather than a silent consume.