drupflare/worker - v1.0.4
    Preparing search index...

    Function recordRevision

    • records a revision and makes it the active one; an identical manifest reuses its row

      Parameters

      • sql: RevSql
      • entry: {
            kind: RevKind;
            label: string;
            manifest: Record<string, string>;
            nowMs: number;
            origin: string;
            package: string;
            rev: string;
        }
      • txn: (fn: () => void) => void

      Returns { id: number; reused: boolean }