jeeves-meta-monorepo
    Preparing search index...

    Function pruneArchive

    • Prune archive directory to keep at most maxArchive snapshots. Removes the oldest files.

      Parameters

      • metaPath: string

        Absolute path to the .meta directory.

      • maxArchive: number

        Maximum snapshots to retain.

      Returns Promise<number>

      Number of files pruned.