Skip to main content

Module app

Module app 

Source
Expand description

What an app does with syncing from login (technical design): the switch, which has the copy of nibkeep-sync that the app ships beside its program sync a library whenever the person is logged in; and what the app does as it starts. Only on computers.

Tests keep apps from the person’s list and login entry: with NIBKEEP_NO_KEYSTORE, as they run the apps, there is none, and once a test has named a place of its own, or none, the process keeps to it.

Structs§

AppTurnedOn
What turning syncing from login on did, for an app.

Functions§

available
Whether the app can turn syncing from login on here: on a computer where it ships nibkeep-sync.
kept_away
Whether tests keep the program from the computer’s keystore, as NIBKEEP_NO_KEYSTORE says: an app, nib or nibkeep-sync. They keep an app from the person’s syncing from login too.
set_test_place
For tests, which keep away from the person’s: puts the list in the folder folder, the login entry, if any, in the autostart file entry, and takes program for the app’s own copy, which it then never starts. Without a folder, the app has no syncing from login.
started
What the app does as it starts, as super::app_started says: the copy of nibkeep-sync that it started, if any.
status
What syncing from login does for the library in directory, whose replica here is replica: None where the app cannot turn it on here.
turn_off
Turns syncing from login off for the library in directory, or its replica here, as super::turn_off does: nothing where the app has no syncing from login.
turn_on
Turns syncing from login on, as super::turn_on does with the app’s own copy; lets the other devices through Windows’ firewall, asking for the administrator’s consent, before it starts the copy that should run, so that Windows does not ask about that one, whose refusal would block it. None where the app cannot turn it on here. It may wait for copies to tell their versions, and for the person’s consent: never while the app holds its library.