|
Data_deduplication_service
Service that will use hashes to deduplicate files
|
Typedefs | |
| typedef int(FileService::* | dirLoad) (std::basic_string_view< char > fromDir, std::basic_string_view< char > toDir) |
| typedef int(FileService::* | fileLoad) (std::basic_string_view< char > fromDir, std::basic_string_view< char > toDir, db_services::indexType fileId) |
Enumerations | |
| enum | logLevel { INFO , WARNING , ERROR , RESULT } |
Functions | |
| void | writeLog (QTextEdit *logTextField, const QString &qLogMessage, logLevel lg) |
| bool | isDirName (const QString &path) |
| double | smartCeil (double vaL, uint num) |
Variables | |
| std::unordered_map< int, dirLoad > | dirs |
| std::unordered_map< int, fileLoad > | files |
| typedef int(FileService::* common::dirLoad) (std::basic_string_view< char > fromDir, std::basic_string_view< char > toDir) |
Typedef for load directory
| typedef int(FileService::* common::fileLoad) (std::basic_string_view< char > fromDir, std::basic_string_view< char > toDir, db_services::indexType fileId) |
Typedef for load directory
| enum common::logLevel |
| bool common::isDirName | ( | const QString & | path | ) |
Check that path is directory path with regex
| path |
| double common::smartCeil | ( | double | vaL, |
| uint | num | ||
| ) |
Returns value rounded up to num symbols after ,
| vaL | |
| num |
| void common::writeLog | ( | QTextEdit * | logTextField, |
| const QString & | qLogMessage, | ||
| logLevel | lg = RESULT |
||
| ) |
Writes formated log message to logTextField
| logTextField | |
| qLogMessage | |
| lg |
| std::unordered_map< int, dirLoad > common::dirs |
| std::unordered_map< int, fileLoad > common::files |