LeechCraft 0.6.70-17609-g3dde4097dd
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
LC::Util::ConsistencyChecker Namespace Reference

Classes

struct  Failed
 
struct  RecoverFinished
 
struct  RecoverNoSpace
 
struct  RecoverOtherFailure
 
struct  RecoverTargetExists
 
struct  Succeeded
 

Typedefs

using CheckResult_t = Either<Failed, Succeeded>
 
using RecoverFailed = std::variant<RecoverNoSpace, RecoverTargetExists, RecoverOtherFailure>
 
using RecoverResult_t = Either<RecoverFailed, RecoverFinished>
 

Functions

Task< CheckResult_tCheck (QString dbPath)
 
Task< RecoverResult_tRecover (QString dbPath)
 
Task< RecoverResult_tRecoverWithUserInteraction (QString dbPath, QString diaTitle)
 

Typedef Documentation

◆ CheckResult_t

◆ RecoverFailed

◆ RecoverResult_t

Function Documentation

◆ Check()

UTIL_DB_API Task< CheckResult_t > LC::Util::ConsistencyChecker::Check ( QString dbPath)

Definition at line 79 of file consistencychecker.cpp.

◆ Recover()

UTIL_DB_API Task< RecoverResult_t > LC::Util::ConsistencyChecker::Recover ( QString dbPath)

Definition at line 84 of file consistencychecker.cpp.

References LC::Util::DumpSqlite(), and LC::Util::WithHandler().

Referenced by RecoverWithUserInteraction().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RecoverWithUserInteraction()

UTIL_DB_API Task< RecoverResult_t > LC::Util::ConsistencyChecker::RecoverWithUserInteraction ( QString dbPath,
QString diaTitle )

Definition at line 139 of file consistencychecker.cpp.

References LC::Util::FormatName(), and Recover().

+ Here is the call graph for this function: