filesaver
|
#include <InMemoryFileSizeService.h>
Public Member Functions | |
INJECT (InMemoryFileSizeService()) | |
std::optional< off_t > | getCurrentSizeAt (const std::string &filepath) |
void | onFileEntry (std::shared_ptr< FileEntry > entry) |
void | onFileEntryBulk (std::vector< std::shared_ptr< FileEntry >> entries) |
void | cleanEntry (std::string key) |
void | cleanEntryBulk (std::vector< std::string > keys) |
void | setDelegate (InMemoryFileEntryStore::Delegate *delegate) |
void | clearDelegate () |
Definition at line 18 of file InMemoryFileSizeService.h.
void filesaver::services::InMemoryFileSizeService::cleanEntry | ( | std::string | key | ) |
Definition at line 37 of file InMemoryFileSizeService.cpp.
void filesaver::services::InMemoryFileSizeService::cleanEntryBulk | ( | std::vector< std::string > | keys | ) |
Definition at line 48 of file InMemoryFileSizeService.cpp.
void filesaver::services::InMemoryFileSizeService::clearDelegate | ( | ) |
Definition at line 63 of file InMemoryFileSizeService.cpp.
std::optional< off_t > filesaver::services::InMemoryFileSizeService::getCurrentSizeAt | ( | const std::string & | filepath | ) |
Definition at line 16 of file InMemoryFileSizeService.cpp.
filesaver::services::InMemoryFileSizeService::INJECT | ( | InMemoryFileSizeService() | ) |
void filesaver::services::InMemoryFileSizeService::onFileEntry | ( | std::shared_ptr< FileEntry > | entry | ) |
Definition at line 22 of file InMemoryFileSizeService.cpp.
void filesaver::services::InMemoryFileSizeService::onFileEntryBulk | ( | std::vector< std::shared_ptr< FileEntry >> | entries | ) |
Definition at line 28 of file InMemoryFileSizeService.cpp.
void filesaver::services::InMemoryFileSizeService::setDelegate | ( | InMemoryFileEntryStore::Delegate * | delegate | ) |
Definition at line 57 of file InMemoryFileSizeService.cpp.