Israeli Bank Importer - v1.44.5
    Preparing search index...

    Function sweepLegacyStaging

    • Deletes the fixed-name <store>.tmp an older release staged at, if it was abandoned.

      Older releases staged at that one predictable name, which the UUID grammar of isStagingPath never matches, so without this a file killed mid-save would keep its plaintext secrets for ever. The rule is the same as for current staged files: only a regular file untouched for the grace period goes, and a symlink or directory there is left alone.

      Parameters

      • fileSystem: IFileSystem

        Injected filesystem access.

      • storePath: string

        Canonical path of the file the old name staged for.

      Returns boolean

      Whether the old staged file was deleted.