pai
    Preparing search index...

    Type Alias RestoreResult

    What restoreSetup did.

    type RestoreResult = {
        dry_run?: boolean;
        restored: { file: string; from: string | null }[];
        skipped: { file: string; reason: string }[];
    }
    Index
    dry_run?: boolean

    True with --dry-run: nothing was written.

    restored: { file: string; from: string | null }[]

    Files put back from their copy, or removed because pai created them.

    Type Declaration

    • file: string

      The file.

    • from: string | null

      The copy it came from. null when pai created the file, so it was removed.

    skipped: { file: string; reason: string }[]

    Files left alone, and why.

    Type Declaration

    • file: string

      The file.

    • reason: string

      Why.