doctor_sync


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
public string[] doctor_sync (out bool healthy) throws Error

Have the daemon check its store and put right what it can: the history folder restricted to its owner, every history read, and the histories left under another passphrase encrypted with the one the history in use takes.

The daemon prompts for that passphrase itself: it never travels over the bus. This waits for the user to answer, for as long as that takes.

Parameters:

this

a Client instance

healthy

whether nothing is left wrong

Returns:

what the check found and did, one line each, or null on error