#include <UpdateFetcher.h>
|
| UpdateFetcher (Path const &updateDirectory, std::function< void(std::string const &)> const &apply, std::function< void(Path const &path)> const &applyFile, std::function< QueryResult(std::string const &)> const &retrieve) |
|
| ~UpdateFetcher () |
|
UpdateResult | Update (bool const redundancyChecks, bool const allowRehash, bool const archivedRedundancy, int32 const cleanDeadReferencesMaxCount) const |
|
Definition at line 50 of file UpdateFetcher.h.
◆ AppliedFileStorage
◆ DirectoryStorage
◆ HashToFileNameStorage
◆ LocaleFileEntry
◆ LocaleFileStorage
◆ Path
◆ State
◆ UpdateMode
◆ UpdateFetcher()
UpdateFetcher::UpdateFetcher |
( |
Path const & |
updateDirectory, |
|
|
std::function< void(std::string const &)> const & |
apply, |
|
|
std::function< void(Path const &path)> const & |
applyFile, |
|
|
std::function< QueryResult(std::string const &)> const & |
retrieve |
|
) |
| |
◆ ~UpdateFetcher()
UpdateFetcher::~UpdateFetcher |
( |
| ) |
|
◆ Apply()
uint32 UpdateFetcher::Apply |
( |
Path const & |
path | ) |
const |
|
private |
◆ CleanUp()
◆ FillFileListRecursively()
◆ GetFileList()
◆ ReadSQLUpdate()
std::string UpdateFetcher::ReadSQLUpdate |
( |
Path const & |
file | ) |
const |
|
private |
◆ ReceiveAppliedFiles()
◆ ReceiveIncludedDirectories()
◆ RenameEntry()
void UpdateFetcher::RenameEntry |
( |
std::string const & |
from, |
|
|
std::string const & |
to |
|
) |
| const |
|
private |
◆ Update()
UpdateResult UpdateFetcher::Update |
( |
bool const |
redundancyChecks, |
|
|
bool const |
allowRehash, |
|
|
bool const |
archivedRedundancy, |
|
|
int32 const |
cleanDeadReferencesMaxCount |
|
) |
| const |
◆ UpdateEntry()
◆ UpdateState()
void UpdateFetcher::UpdateState |
( |
std::string const & |
name, |
|
|
State const |
state |
|
) |
| const |
|
private |
◆ _apply
std::function<void(std::string const&)> const UpdateFetcher::_apply |
|
private |
◆ _applyFile
std::function<void(Path const& path)> const UpdateFetcher::_applyFile |
|
private |
◆ _retrieve
std::function<QueryResult(std::string const&)> const UpdateFetcher::_retrieve |
|
private |
◆ _sourceDirectory
std::unique_ptr<Path> const UpdateFetcher::_sourceDirectory |
|
private |
The documentation for this class was generated from the following files: