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

    The credentials as they stood before a save, and how to put them back.

    Index
    • Copies the current credentials aside. Only ENOENT means there is nothing to copy: a symlink, a directory or an unreadable file there is not "nothing", and the save must stop rather than replace it.

      Parameters

      • fileSystem: IFileSystem

        Filesystem the credentials live on.

      • credPath: string

        Absolute path to credentials.json.

      Returns Procedure<default>

      The backup, or why the save must not go ahead.

    • Deletes the copy once it is no longer needed, best-effort: a copy left behind is swept like any staged file.

      Returns boolean

      Whether no copy is left.