How an import is put in place

An import is put in place while the app is closed, so no file is replaced under the running app.

An import is put in place while the app is closed, so no file is ever replaced under the app while it uses it.

01 · The steps
  1. Open and check. The app opens the file with your password, piece by piece, and checks every piece. Nothing of the app is touched yet.
  2. Lay it out. The content is written into a folder of its own beside the app’s data. Only when the whole file has been read and checked is it marked ready.
  3. Close the app. The app starts a small screen of its own, in a separate process, and closes itself.
  4. Wait. That screen, Putting the import in place…, waits until the app is fully closed.
  5. Replace. It removes everything the app held, moves the file’s content into its place, writes the settings back and seals every sign-in again with this phone’s key.
  6. Start. It removes the folder it worked from and opens the app on the new state.
02 · If it is interrupted
  • Before the file is marked ready, an interruption leaves the app as it was; the next import starts over from the file.
  • Once it is marked ready, the import is finished at the next opening of the app: the app sees it waiting, closes, and the same screen puts it in place first.

Opensolr Mail is open source and MIT licensed. Questions about your Opensolr account, index or plan go to opensolr.com/contact; questions about the app itself belong on GitHub.

Opensolr Mail Documentation